taro-ls: start implementing extra keybinds
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmQbu5IACgkQO3+8IhRO Y5j+Tg/7B3WGm55mD1Z9E67bdtr3HuZavkCZORC5sQKn2XT67AqeL9GqPGjCe/A0 K7BXngES/9zbg3UXJL5epqaIPt9NhBLZXyI4G7jxddmi2+E5ua3WY/4WuH0kgYm/ 1Pc19OUXdr0N0yx6M9jB2GtrcdzmqwdgM+hd8KjsuLln2UDGfJLKwgcHlY8BoJ3N rV7+7iYRzUp2a8kaaMzzQbEqMOYrTNXo6sRiUWM76utVxu5cYyV7XUTSejpZp/g0 X7ObVDCGEtpJpie+5aBk3yu2e+OcpwSmWLxXdBP0G5AL7PNpRK6AIwNYa0Iil/eG LA7GvFfm1W0/S3lRFramrbGJ8u5Tg5pUxZ3NK2XQRmXClkOLXV1pl4/0bixa5QOJ EvITopnv4KcvnYtEJGO1XRHSxtDcBJZvScBqZ85UOAlcjqkZx5oOWtgV3lr8ai4I gtPJjTO+Q9kMa067aeGF4sDFh8WE4Ux377Be9QX9TCdZGvAcocrntD8y9DmG9sNm Gve+FBtwlnykam/Tisf6X6oQ5JJiswnFYj/8m4wfsxiQecH88cSJeKN5OS8HHmEq rp0E1Y9pESsXJJ7DoN3HW5ytsuB+qMW+6GEvAogXT/PzYGH+dTmESr17YDCXCbnq ++QRSTF55nPTdfSuD9sAiY/KtpMD16wfE0ut7oCNhisLcf1YZU0= =3yGY -----END PGP SIGNATURE-----
1 files changed,
38 insertions(+),
7 deletions(-)
jump to
M
taro-ls.tal
→
taro-ls.tal
@@ -264,17 +264,48 @@ .textbox/mode LDZ #00 EQU ,&no_text_entry JCN
handle_textbox BRK &no_text_entry - ( TODO: add shortcuts for common actions - - del: trash + + ( TODO: add shortcuts for common actions - up/dn: change selection (mail) - tab: change selection (mailbox) - shift+up/dn: multiselect - - /: search - - r: refresh - - m: refile - - c: compose - - .: all read + - return: read (first in selection) + - n: compose ) + + .Controller/key DEI + DUP #7f NEQ ,&no_del JCN + send_trash + &no_del + DUP #2f NEQ ,&no_search JCN + enter_search_mode + &no_search + DUP #72 NEQ ,&no_refresh JCN + send_get_mbox + &no_refresh + DUP #6d NEQ ,&no_refile JCN + enter_refile_mode + &no_refile + DUP #6e NEQ ,&no_compose JCN + ( awaiting compose window implementation ) + &no_compose + DUP #2e NEQ ,&no_all_read JCN + send_mark_all_read + &no_all_read + DUP #0d NEQ ,&no_reader JCN + ( awaiitng reader window implementation ) + &no_reader + DUP #09 NEQ ,&no_tab JCN + ( check shift or not - prev mailbox if so, otherwise next ) + &no_tab + &check_btns + POP + .Controller/button DEI + DUP #10 NEQ ,&no_up JCN + &no_up + DUP #20 NEQ ,&no_down JCN + &no_down + POP BRK @handle_textbox ( -> )