On Mi, 15 Apr 2020, Christian Brabandt wrote:
> diff --git a/src/term.c b/src/term.c
> index ce935dcf4..fc0febba1 100644
> --- a/src/term.c
> +++ b/src/term.c
> @@ -4783,7 +4783,11 @@ not_enough:
> // PuTTY sends 0;136;0
> // vandyke SecureCRT sends 1;136;0
> else if (version == 136 && arg[2] == 0)
> + {
> is_not_xterm = TRUE;
> + set_option_value((char_u *)"ttym", 0L,
> + (char_u *)"sgr", 0);
> + }
>
> // Konsole sends 0;115;0
> else if (version == 115 && arg[0] == 0 && arg[2] == 0)
>
Hm, this is not quite right. First of all, it also sets ttymouse for
SecureCRT, which is probably wrong. Additionally it only works for
TERM=xterm, however when I use putty, I either use $TERM=putty-256color
or inside tmux/screen where $TERM=screen (or tmux).
It seems this part of the code is only ever executed if T_CRV is not
null. However it looks a bit like magic to me, when this will be
initialized. So what would be a good way to initialize T_CRV in those
cases?
Best,
Christian
--
Delhikatesse:
Spezialität aus Indien, z.b. Delhi-Mehl, s.a. Reis-Leistungsverhältnis
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20200415173526.GY25035%40256bit.org.