diff --git a/term.tal b/term.tal index 0187aa8..e99f90c 100644 --- a/term.tal +++ b/term.tal @@ -12,6 +12,8 @@ ( 6. add more ansi control seqs ) ( 7. stop hard coding terminal size in both term.py and term.tal ) ( 8. key repeat - not possible in general though ) +( 9. support shift+arrow and alt+arrow ) +( 10. investigate neauoire mosh flicker. theory: tmux running under non-ansi TERM ) ( ANSI sequences ) ( ) @@ -75,7 +77,7 @@ ( ESC [ ? 1061 h -> set VT220 keyboard emulation ) |00 @System [ &vect $2 &expansion $2 &title $2 &metadata $2 &r $2 &g $2 &b $2 ] -|10 @Console [ &vect $2 &r $1 &pad $5 &w $1 ] +|10 @Console [ &vect $2 &r $1 &exec $2 &mode $1 &dead $1 &exit $1 &w $1 ] |20 @Screen [ &vect $2 &w $2 &h $2 &auto $1 &pad $1 &x $2 &y $2 &addr $2 &px $1 &sprite $1 ] |80 @Controller [ &vect $2 &button $1 &key $1 &fn $1 ] |90 @Mouse [ &vect $2 &x $2 &y $2 &state $1 &pad $3 &scrollx $2 &scrolly $2 ] @@ -160,6 +162,11 @@ ;on-mouse .Mouse/vect DEO2 ( set up mouse ) ;on-read .Console/vect DEO2 ( set up stdin ) + ( these only work with a patched uxnemu ) + ( on other emulators they should be no-ops ) + ;shell .Console/exec DEO2 ( set up bash subprocess ) + #80 .Console/mode DEO ( start bash subprocess ) + ( set to 01 to enable debug log ) #00 .debug STZ @@ -169,6 +176,8 @@ #01 .File1/append DEO BRK +@shell "bash 00 "-i 00 00 + @load-theme ( -> ) ;&path .File1/name DEO2 #0002 .File1/len DEO2