diff options
author | Joe <bousset.rudy@gmail.com> | 2022-10-06 15:43:21 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-10-06 15:43:21 +0200 |
commit | 06a829f38dca87e54d16c05512680e1572105f67 (patch) | |
tree | 94ec94dab109fe9cd791f16b7659fa48e2585d2a /st.c | |
parent | up (diff) | |
download | st-06a829f38dca87e54d16c05512680e1572105f67.tar.gz st-06a829f38dca87e54d16c05512680e1572105f67.tar.bz2 st-06a829f38dca87e54d16c05512680e1572105f67.tar.xz st-06a829f38dca87e54d16c05512680e1572105f67.tar.zst st-06a829f38dca87e54d16c05512680e1572105f67.zip |
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2896,14 +2896,17 @@ int trt_kbdselect(KeySym ksym, char *buf, int len) { set_notifmode(15, ksym); selectsearch_mode ^= 2; break; + case XK_i : case XK_Escape : - if ( !in_use ) break; selclear(); + if ( !in_use ) break; + case XK_Return : case XK_y : set_notifmode(4, ksym); term.c.x = cu.x, term.c.y = cu.y; select_or_drawcursor(selectsearch_mode = 0, type); in_use = quant = 0; + selclear(); return MODE_KBDSELECT; case XK_n : case XK_N : |