From c8c65e3fb1a89f9cff93c8cb8623de2cd279efd0 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Sun, 23 Apr 2023 17:48:54 -0600 Subject: [PATCH] taro-ls: fix resize by keyboard --- taro-ls.tal | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/taro-ls.tal b/taro-ls.tal index f7d41eb..6e95b18 100644 --- a/taro-ls.tal +++ b/taro-ls.tal @@ -419,7 +419,7 @@ BRK .Screen/height DEI2 #0008 ADD2 .Screen/height DEO2 &no_down DUP #40 NEQ ,&no_left JCN - .Screen/width DEI2 #0100 EQU2 ,&no_down JCN + .Screen/width DEI2 #0100 EQU2 ,&no_left JCN .Screen/width DEI2 #0008 SUB2 .Screen/width DEO2 &no_left DUP #80 NEQ ,&no_right JCN @@ -434,6 +434,8 @@ BRK #01 .refresh/etc STZ #01 .refresh/fg STZ + .Screen/height DEI2 TOP_SECTION BOTTOM_SECTION ADD2 MID_SEPARATOR ADD2 SUB2 #03 SFT2 NIP .list/height STZ + JMP2r @change_select_len_by_key ( up? -- ) @@ -1313,7 +1315,7 @@ JMP2r ] @metadata [ 00 "taro 0a - "v0.2.3 0a + "v0.2.4 0a "GUI 20 "for 20 "mblaze 0a "Derek 20 "Stevens 20 " 0a 00 ]