about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPatrick Oscity <patrick.oscity@gmail.com>2013-12-15 12:01:21 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2013-12-16 21:35:21 +0000
commit977f9ff5c8137b76fea8e93498086525af460cc5 (patch)
treee1ab695a531323b0855190b88203396a71a4518d /Doc
parent71038e31db8076ff2229a5b4629536044b2367d1 (diff)
downloadzsh-977f9ff5c8137b76fea8e93498086525af460cc5.tar.gz
zsh-977f9ff5c8137b76fea8e93498086525af460cc5.tar.xz
zsh-977f9ff5c8137b76fea8e93498086525af460cc5.zip
32114: ZLE_PROMPT_INDENT allows you to move rprompt flush right
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/params.yo13
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 9d951bb38..37c79b210 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -1547,4 +1547,17 @@ See the completion system documentation in
 ifzman(zmanref(zshcompsys))\
 ifnzman(noderef(Completion System)).
 )
+vindex(ZLE_RPROMPT_INDENT)
+item(tt(ZLE_RPROMPT_INDENT))(
+If set, used to give the indentation between the right hand side of
+the right prompt in the line editor as given by tt(RPS1) or tt(RPROMPT)
+and the right hand side of the screen.  If not set, the value 1 is used.
+
+Typically this will be used to set the value to 0 so that the prompt
+appears flush with the right hand side of the screen.  This is not the
+default as many terminals do not handle this correctly, in particular
+when the prompt appears at the extreme bottom right of the screen.
+Recent virtual terminals are more likely to handle this case correctly.
+Some experimentation is necessary.
+)
 enditem()