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 <[email protected]>
> 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
> @@ -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 @ IRCnet
> 

Applied, thanks.

-- 
Kind regards,
Hiltjo

Reply via email to