struct

TTY::Winsize

Inherits Struct < Value < Object

Constructors

get(fd : Descriptor) : Winsize
Source
new(rows : UInt16 = 0_u16, cols : UInt16 = 0_u16, xpixel : UInt16 = 0_u16, ypixel : UInt16 = 0_u16)
Source

Class methods

current(fd : Descriptor = 0) : Winsize | Nil
Source
propagate(from_fd : Descriptor, to_fd : Descriptor) : Nil
Source

Instance methods

cols
Source
cols=(cols : UInt16)
Source
rows
Source
rows=(rows : UInt16)
Source
set(fd : Descriptor) : Nil
Source
xpixel
Source
xpixel=(xpixel : UInt16)
Source
ypixel
Source
ypixel=(ypixel : UInt16)
Source