summaryrefslogtreecommitdiffstats
path: root/Doc/Zsh/params.yo
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-11-10 21:02:34 +0100
committerOliver Kiddle <opk@zsh.org>2025-11-10 21:02:34 +0100
commitba008572e8c9909db839fc63c3a86db751c83ebd (patch)
tree7802e0d82e8ea9bb5f41f2a091a45870f75b748e /Doc/Zsh/params.yo
parent53404: terminal integration with semantic markers (diff)
downloadzsh-ba008572e8c9909db839fc63c3a86db751c83ebd.tar
zsh-ba008572e8c9909db839fc63c3a86db751c83ebd.tar.gz
zsh-ba008572e8c9909db839fc63c3a86db751c83ebd.tar.bz2
zsh-ba008572e8c9909db839fc63c3a86db751c83ebd.tar.lz
zsh-ba008572e8c9909db839fc63c3a86db751c83ebd.tar.xz
zsh-ba008572e8c9909db839fc63c3a86db751c83ebd.tar.zst
zsh-ba008572e8c9909db839fc63c3a86db751c83ebd.zip
53438: support for changing terminal cursor shape and colour
Diffstat (limited to 'Doc/Zsh/params.yo')
-rw-r--r--Doc/Zsh/params.yo18
1 files changed, 18 insertions, 0 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 6cb9167d5..76185efca 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -1749,6 +1749,12 @@ 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(cursor-color) <E>)(
+Support for changing the color of the cursor.
+)
+item(tt(cursor-shape) <E>)(
+Support for changing the shape of the cursor.
+)
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
@@ -1769,6 +1775,11 @@ item(tt(query-bg) <E>)(
Query the terminal background color which is used for tt(.term.bg) and
tt(.term.mode).
)
+item(tt(query-cursor) <E>)(
+Query the cursor color. This facilitates restoring the cursor to its original
+color if it has been configured via tt(zle_cursorform). The color is also
+assigned to tt(.term.cursor).
+)
item(tt(query-fg) <E>)(
Query the terminal foreground color which is used for tt(.term.fg).
)
@@ -1900,6 +1911,13 @@ 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_cursorform)
+item(tt(zle_cursorform))(
+An array describing contexts in which ZLE should change the shape and color
+of the cursor.
+See ifzman(em(Cursor Form) in zmanref(zshzle))\
+ifnzman(noderef(Cursor Form)).
+)
vindex(zle_highlight)
item(tt(zle_highlight))(
An array describing contexts in which ZLE should highlight the input text.