From 977f9ff5c8137b76fea8e93498086525af460cc5 Mon Sep 17 00:00:00 2001 From: Patrick Oscity Date: Sun, 15 Dec 2013 12:01:21 +0100 Subject: 32114: ZLE_PROMPT_INDENT allows you to move rprompt flush right --- Doc/Zsh/params.yo | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Doc') 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() -- cgit 1.4.1