Re: [hackers] [st][PATCH] Restore cursor when exiting alt mode.

2021-05-11 Thread Stein Gunnar Bakkeby
Hi Hijito, I think it's more likely that I am the one missing something. I found that I had this in my .vimrc file: if has("autocmd") au VimEnter,InsertLeave * silent execute '!echo -ne "\e[2 q"' | redraw! au InsertEnter,InsertChange * \ if v:insertmode == 'i' | \ silent execute '!echo

Re: [hackers] [st][PATCH] Restore cursor when exiting alt mode.

2021-05-11 Thread Hiltjo Posthuma
On Tue, May 11, 2021 at 10:41:29AM +0200, Stein Gunnar Bakkeby wrote: > From 7fa0a12281f4b595b75e40e497919076497281e8 Mon Sep 17 00:00:00 2001 > From: bakkeby > Date: Tue, 11 May 2021 10:20:23 +0200 > Subject: [PATCH] Restore cursor when exiting alt mode. > > If the mouse cursor is changed to a

[hackers] [st][PATCH] Restore cursor when exiting alt mode.

2021-05-11 Thread Stein Gunnar Bakkeby
>From 7fa0a12281f4b595b75e40e497919076497281e8 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Tue, 11 May 2021 10:20:23 +0200 Subject: [PATCH] Restore cursor when exiting alt mode. If the mouse cursor is changed to a bar or an underline then st will use that when the terminal is first opened. When