patch 9.1.1703: Cannot react to terminal OSC responses
Problem: Cannot react to terminal OSC responses
Solution: Allow TermResponseAll to be triggered by Terminal OSC
responses (Foxe Chen)
fixes: #14995
closes: #17975
Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
7f380259cf
commit
1f51bbc3b9
15
src/option.c
15
src/option.c
@ -3905,6 +3905,21 @@ did_set_numberwidth(optset_T *args UNUSED)
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Process the updated 'osctimeoutlen' option value.
|
||||
*/
|
||||
char *
|
||||
did_set_osctimeoutlen(optset_T *args)
|
||||
{
|
||||
if (p_ost < 0)
|
||||
{
|
||||
p_ost = args->os_oldval.number;
|
||||
return e_argument_must_be_positive;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* Process the updated 'paste' option value. Called after p_paste was set or
|
||||
* reset. When 'paste' is set or reset also change other options.
|
||||
|
||||
Reference in New Issue
Block a user