summary refs log tree commit diff
path: root/bin/fbatt.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
commitb8efebf4943262490d73a837c89b24d3d7d13c24 (patch)
tree8d052fbdef7f483c2f8756a6b9be4c9b45f78bc8 /bin/fbatt.c
parentAdd RPS1 and RPS2 right prompt variables (diff)
downloadsrc-b8efebf4943262490d73a837c89b24d3d7d13c24.tar.gz
src-b8efebf4943262490d73a837c89b24d3d7d13c24.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