Fix error in text() escape sequence leading to incorrect window after quitting
authorNick Downing <nick@ndcode.org>
Tue, 24 May 2022 07:34:05 +0000 (17:34 +1000)
committerNick Downing <nick@ndcode.org>
Tue, 24 May 2022 07:34:05 +0000 (17:34 +1000)
apple_io.py

index f48d44e..c619b7e 100644 (file)
@@ -590,7 +590,7 @@ def text():
   global gr_on
 
   # save cursor, set scrolling region, restore cursor
-  write('\x1b[s\x1b1;24r\x1b[u')
+  write('\x1b[s\x1b[1;24r\x1b[u')
   low_mem[ZP_WNDLFT] = 0
   low_mem[ZP_WNDWTH] = 40
   low_mem[ZP_WNDTOP] = 0