summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2025-11-10 21:02:31 +0100
committerOliver Kiddle <opk@zsh.org>2025-11-10 21:02:31 +0100
commit6a691a3487cc26900475291ced12400318176aeb (patch)
treeba5f16395098b632fe16369e684eaaf18e05faed /Doc
parent53379, 53380: autoload nearcolor based on truecolor detection (diff)
downloadzsh-6a691a3487cc26900475291ced12400318176aeb.tar
zsh-6a691a3487cc26900475291ced12400318176aeb.tar.gz
zsh-6a691a3487cc26900475291ced12400318176aeb.tar.bz2
zsh-6a691a3487cc26900475291ced12400318176aeb.tar.lz
zsh-6a691a3487cc26900475291ced12400318176aeb.tar.xz
zsh-6a691a3487cc26900475291ced12400318176aeb.tar.zst
zsh-6a691a3487cc26900475291ced12400318176aeb.zip
53404: terminal integration with semantic markers
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/params.yo48
1 files changed, 36 insertions, 12 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 7bcd61531..6cb9167d5 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -1741,6 +1741,30 @@ startup. Extensions can be any of the following, where the marks `<D>' and
`<E>' indicate whether they are disabled or enabled by default:
startitem()
+item(tt(bracketed-paste) <E>)(
+Many terminal emulators have a feature that allows applications to identify
+when text is pasted into the terminal rather than being typed normally. For
+ZLE, this means that special characters such as tabs and newlines can be
+inserted instead of invoking editor commands. Furthermore, pasted text forms a
+single undo event and if the region is active, pasted text will replace the
+region.
+)
+item(tt(integration-output) <E>)(
+This provides the terminal with semantic information regarding where the output
+from commands start and finish. Some terminals use this information to make it
+easy to select just the output from a single command.
+)
+item(tt(integration-prompt) <E>)(
+This informs the terminal when the shell displays a prompt. This enables a
+variety of terminal features such as displaying markers, allowing you to jump
+to previous commands in the scroll-back buffer and ensuring that right prompts
+are handled correctly when the window is resized. The end of the prompt also
+provides the terminal with a marker for the start of user input.
+)
+item(tt(integration-pwd) <E>)(
+This advises the terminal of the shell's current directory which allows it
+to create new windows with the same current working directory.
+)
item(tt(query-bg) <E>)(
Query the terminal background color which is used for tt(.term.bg) and
tt(.term.mode).
@@ -1759,6 +1783,11 @@ wider range of key combinations and resolves problems with ambiguous key
sequences. Currently there is only support for detecting whether the terminal
supports this feature.
)
+item(tt(modkeys-xterm) <D>)(
+Support for the keyboard handling sequences associated with xterm's
+tt(modifyOtherKeys) X resource. This enables reporting of a wider range of key
+combinations and resolves some problems with ambiguous key sequences.
+)
xitem(tt(truecolor) <D>)
item(tt(query-truecolor) <E>)(
Support for 24-bit truecolor escape sequences. Auto-detection also tries
@@ -1863,18 +1892,13 @@ vindex(zle_bracketed_paste)
cindex(bracketed paste)
cindex(enabling bracketed paste)
item(tt(zle_bracketed_paste))(
-Many terminal emulators have a feature that allows applications to
-identify when text is pasted into the terminal rather than being typed
-normally. For ZLE, this means that special characters such as tabs
-and newlines can be inserted instead of invoking editor commands.
-Furthermore, pasted text forms a single undo event and if the region is
-active, pasted text will replace the region.
-
-This two-element array contains the terminal escape sequences for
-enabling and disabling the feature. These escape sequences are used to
-enable bracketed paste when ZLE is active and disable it at other times.
-Unsetting the parameter has the effect of ensuring that bracketed paste
-remains disabled.
+This two-element array contains the terminal escape sequences for enabling and
+disabling the bracketed paste feature which allows ZLE to discern text that is
+pasted into the terminal. These escape sequences are used to enable bracketed
+paste when ZLE is active and disable it at other times. Unsetting the
+parameter has the effect of ensuring that bracketed paste remains disabled.
+However, see also the tt(.term.extensions) parameter which provides a single
+place to enable or disable terminal features.
)
vindex(zle_highlight)
item(tt(zle_highlight))(