Re: [hackers] [st][PATCH] Unhide cursor on RIS (\033c)

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sun, 8 Oct 2023 12:56:56 +0200

On Sat, Oct 07, 2023 at 07:40:45AM +0200, Peter Hofmann wrote:
> From: Peter Hofmann <scm_AT_uninformativ.de>
>
> It is unclear if it's "required" to do this on RIS, but it's useful when
> calling reset(1) after interactive programs have crashed and garbled up
> the screen.
>
> FWIW, other terminals do it as well (tested with XTerm, VTE, Kitty,
> Alacritty, Linux VT).
> ---
> st.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/st.c b/st.c
> index 4754c87..d6478f5 100644
> --- a/st.c
> +++ b/st.c
> _AT_@ -2330,6 +2330,7 @@ eschandle(uchar ascii)
> treset();
> resettitle();
> xloadcols();
> + xsetmode(0, MODE_HIDE);
> break;
> case '=': /* DECPAM -- Application keypad */
> xsetmode(1, MODE_APPKEYPAD);
> --
> 2.42.0
>
>

Hi Peter,

Thanks for all the patches and clear steps to reproduce the issues :)

I've pushed the patches to the master branch.

-- 
Kind regards,
Hiltjo
Received on Sun Oct 08 2023 - 12:56:56 CEST

This archive was generated by hypermail 2.3.0 : Sun Oct 08 2023 - 13:00:40 CEST