class

LxChess::Terminal

Inherits Reference < Object

Constants

TIOCGWINSZ = 1074295912

ttycom.h : _IOR('t', 104, struct winsize) ioccom.h : #define _IOC(inout, group, num, len)
(inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) TODO : Figure out how to define this dynamically per system

Constructors

new(io : IO::FileDescriptor = STDOUT)
Source

Class methods

size
Source

Instance methods

clear
Source
clear_scroll
Source
move(x : Int, y : Int)

Move cursor to line, column

Source
trunc

Delete the rest of the line from cursor pos

Source