summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkitty <nepeta@canaglie.net>2026-03-11 15:20:54 +1100
committerkitty <nepeta@canaglie.net>2026-03-11 15:20:54 +1100
commitc7b225fa133e3632159c9dc1d22f88461760df1e (patch)
tree67953a09c66d12ec55466624facac82f65b7ccf0
parent89a89b9892804084146903c5eb8cc01d32542bba (diff)
xterm altscr/normscr
useful for terminal graphics
-rw-r--r--jefs.fs3
1 files changed, 3 insertions, 0 deletions
diff --git a/jefs.fs b/jefs.fs
index 567b3aa..65c2a99 100644
--- a/jefs.fs
+++ b/jefs.fs
@@ -443,6 +443,9 @@ make old-termios old-termios# allot
\ }}}
: raw backup-termios termios dup raw-iflag dup raw-oflag dup raw-lflag
dup raw-cflag TCSETSF stdin ioctl ;
+
+: altscr CSI ." ?1049h" ;
+: normscr CSI ." ?1049l" ;
\ }}}
\ TIME {{{