diff --git a/term.tal b/term.tal index 56c5494..5a685ae 100644 --- a/term.tal +++ b/term.tal @@ -13,7 +13,7 @@ @cur-x $2 ( cursor x: 0 <= cur-x < cols ) @cur-y $2 ( cursor y: 0 <= cur-y < rows ) - @buffer $80 ( input buffer ) + @buffer $c8 ( input buffer, 200 bytes ) @pos $1 ( buffer position ) @subinput $1 ( reading from subprocess? ) @@ -119,9 +119,10 @@ DUP #7f EQU ;read-del JCN2 ;read-normal JMP2 +( TODO: we need line-editing! ) @read-bel JMP2r -@read-bs POP ;scroll JMP2 ( FIXME ) -@read-tab POP POP2r #0000 DIV +@read-bs JMP2r ( POP ;scroll JMP2 ) +@read-tab JMP2r ( POP POP2r #0000 DIV ) @read-esc JMP2r @read-del JMP2r