Constructors
constructor
- new TeleType(page: HTMLElement, fixed: boolean): TeleType
-
Parameters
-
page: HTMLElement
-
fixed: boolean
Properties
bell
bell: any
col
col: number
curline
curline: HTMLElement
curstyle
curstyle: number
fixed
fixed: boolean
lines
lines: HTMLElement[]
ncharsout
ncharsout: number
ncols
ncols: number = 80
page
page: HTMLElement
reverse
reverse: boolean
row
row: number
scrolldiv
scrolldiv: HTMLElement
Methods
addtext
- addtext(line: string, style: number): void
-
Parameters
-
line: string
-
style: number
Returns void
clear
-
Returns void
ensureline
-
Returns void
flushline
-
Returns void
formfeed
-
Returns void
loadState
- loadState(state: any): void
-
Parameters
Returns void
movePrintHead
- movePrintHead(printing: boolean): void
-
Parameters
Returns void
move_cursor
- move_cursor(col: number, row: number): void
-
Parameters
Returns void
newline
-
Returns void
print
-
Parameters
Returns void
resize
- resize(columns: number): void
-
Parameters
Returns void
saveState
- saveState(): { col: number; curstyle: number; lines: Node[]; ncharsout: number; reverse: boolean; row: number }
-
Returns { col: number; curstyle: number; lines: Node[]; ncharsout: number; reverse: boolean; row: number }
-
col: number
-
curstyle: number
-
lines: Node[]
-
ncharsout: number
-
reverse: boolean
-
row: number
scrollToBottom
-
Returns void
setrows
- setrows(size: number): void
-
Parameters
Returns void
showPrintHead
- showPrintHead(show: boolean): void
-
Parameters
Returns void