Re: [hackers] [st][patch] be silent about explicitly unhandled mouse modes

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Wed, 13 Mar 2019 17:52:43 +0100

On Wed, Mar 13, 2019 at 05:12:54PM +0200, Lauri Tirkkonen wrote:
> Currently st is outputting the following on stderr when I attach or
> detach tmux (on OpenBSD):
>
> erresc: unknown private set/reset mode 1005
>
> diff below fixes it.
>
> From e3ddd14bacb0037e236b5a2243120b8494c5f054 Mon Sep 17 00:00:00 2001
> From: Lauri Tirkkonen <lotheac_AT_iki.fi>
> Date: Wed, 13 Mar 2019 17:08:50 +0200
> Subject: [PATCH] be silent about explicitly unhandled mouse modes
>
> ---
> st.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/st.c b/st.c
> index 379dd10..d35f89d 100644
> --- a/st.c
> +++ b/st.c
> _AT_@ -1575,6 +1575,7 @@ tsetmode(int priv, int set, int *args, int narg)
> case 1015: /* urxvt mangled mouse mode; incompatible
> and can be mistaken for other control
> codes. */
> + break;
> default:
> fprintf(stderr,
> "erresc: unknown private set/reset mode %d\n",
> --
> 2.21.0
>
> --
> Lauri Tirkkonen | lotheac _AT_ IRCnet
>

Applied, thanks.

-- 
Kind regards,
Hiltjo
Received on Wed Mar 13 2019 - 17:52:43 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 13 2019 - 18:00:31 CET