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
@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 9.1. Last change: 2025 Aug 23
|
||||
*eval.txt* For Vim version 9.1. Last change: 2025 Aug 27
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -2893,16 +2893,15 @@ v:termstyleresp The escape sequence returned by the terminal for the |t_RS|
|
||||
*v:termrbgresp*
|
||||
v:termrbgresp The escape sequence returned by the terminal for the |t_RB|
|
||||
termcap entry. This is used to find out what the terminal
|
||||
background color is; see 'background'. When this option is
|
||||
set, the TermResponseAll autocommand event is fired, with
|
||||
<amatch> set to "background".
|
||||
background color is; see 'background'. This is set by the
|
||||
$VIMRUNTIME/plugin/colorresp.vim plugin normally included with
|
||||
Vim, but can be set manually if you know what you are doing.
|
||||
Note that changing this will not do anything.
|
||||
|
||||
*v:termrfgresp*
|
||||
v:termrfgresp The escape sequence returned by the terminal for the |t_RF|
|
||||
termcap entry. This is used to find out what the terminal
|
||||
foreground color is. When this option is set, the
|
||||
TermResponseAll autocommand event is fired, with <amatch> set
|
||||
to "foreground".
|
||||
foreground color is. Behaves the same as |v:termrbgresp|
|
||||
|
||||
*v:termu7resp*
|
||||
v:termu7resp The escape sequence returned by the terminal for the |t_u7|
|
||||
@ -2917,6 +2916,14 @@ v:termda1 The escape sequence returned by a primary device attributes
|
||||
TermResponseAll autocommand event is fired, with <amatch> set
|
||||
to "da1". Can be used to detect OSC 52 support in a terminal.
|
||||
|
||||
*v:termosc*
|
||||
v:termosc The escape sequence of the most recent OSC response received
|
||||
from the terminal. When this option is set, the
|
||||
|TermResponseAll| autocommand event is fired, with <amatch>
|
||||
set to "osc". Also used to set the |v:termrbgresp| and
|
||||
|v:termrfgresp| via the $VIMRUNTIME/plugin/colorresp.vim
|
||||
plugin
|
||||
|
||||
*v:testing* *testing-variable*
|
||||
v:testing Must be set before using `test_garbagecollect_now()`.
|
||||
Also, when set certain error messages won't be shown for 2
|
||||
|
||||
Reference in New Issue
Block a user