Handbook
Glossary
winsize
Vocabulary
terminal
.
macos
.
private
Definition
USING:
alien.c-types
classes.struct
;
IN:
terminal.macos.private
STRUCT:
winsize
{
ws_row
short
initial:
0
}
{
ws_col
short
initial:
0
}
{
ws_xpixel
short
initial:
0
}
{
ws_ypixel
short
initial:
0
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
terminal.macos.private
;
M:
winsize
clone
clone-underlying
\
winsize
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
terminal.macos.private
;
M:
winsize
struct-slot-values
{
[
ws_row>>
]
[
ws_col>>
]
[
ws_xpixel>>
]
[
ws_ypixel>>
]
}
cleave>array
;
inline