summary refs log tree commit diff
path: root/src/histedit.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-23 16:21:24 -0500
committerJune McEnroe <june@causal.agency>2022-01-21 22:04:33 -0500
commit1a3bc6209c60bea2a26b0ed69628308f1e59ab32 (patch)
treeb87e8a05abf4476500b75c6e4ee5a04c18d984e2 /src/histedit.c
parentdash: Add RPS1 and RPS2 right prompt variables (diff)
downloaddash-1a3bc6209c60bea2a26b0ed69628308f1e59ab32.tar.gz
dash-1a3bc6209c60bea2a26b0ed69628308f1e59ab32.zip
dash: Fix multi-line prompts when right prompts are used
editline does not render a multi-line PS1 correctly when RPS1 is also
set. To work around this, return only the last line of the cached prompt
to editline, and print the leading lines separately inside setprompt.
Diffstat (limited to 'src/histedit.c')
0 files changed, 0 insertions, 0 deletions