summary refs log tree commit diff
path: root/bin/1sh/mknodes.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-23 16:21:24 -0500
committerJune McEnroe <june@causal.agency>2020-12-23 16:21:24 -0500
commit115d9322b60a86a2df6965ceebc10f8c388a97b3 (patch)
tree908f13616762657bb6ae7808331289b7ea94cef9 /bin/1sh/mknodes.c
parentAdd RPS1 and RPS2 right prompt variables (diff)
downloadsrc-115d9322b60a86a2df6965ceebc10f8c388a97b3.tar.gz
src-115d9322b60a86a2df6965ceebc10f8c388a97b3.zip
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 '')
0 files changed, 0 insertions, 0 deletions