mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 16:51:15 -03:00
Use XTVERSION for terminal-specific workarounds
As mentioned in earlier commit
("Query terminal before reading config").
Closes #11812
This commit is contained in:
@@ -1693,6 +1693,10 @@ Fish also provides additional information through the values of certain environm
|
||||
|
||||
the process ID (PID) of the shell.
|
||||
|
||||
.. envvar:: fish_terminal
|
||||
|
||||
the name and version of the terminal fish is running inside (for example as reported via :ref:`XTVERSION <term-compat-xtversion>`).
|
||||
|
||||
.. envvar:: history
|
||||
|
||||
a list containing the last commands that were entered.
|
||||
|
||||
@@ -224,9 +224,12 @@ Optional Commands
|
||||
- Ss
|
||||
- Set cursor style (DECSCUSR); Ps is 2, 4 or 6 for block, underscore or line shape.
|
||||
- VT520
|
||||
* - ``\e[ Ps q``
|
||||
* - .. _term-compat-xtversion:
|
||||
|
||||
``\e[ Ps q``
|
||||
- n/a
|
||||
- Request terminal name and version (XTVERSION).
|
||||
This is only used for temporary workarounds for incompatible terminals.
|
||||
- XTerm
|
||||
* - ``\e[?25h``
|
||||
- cvvis
|
||||
|
||||
Reference in New Issue
Block a user