diff options
author | June McEnroe <june@causal.agency> | 2020-12-23 16:21:24 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-23 16:21:24 -0500 |
commit | b8efebf4943262490d73a837c89b24d3d7d13c24 (patch) | |
tree | 8d052fbdef7f483c2f8756a6b9be4c9b45f78bc8 /port/caesar/caesar.c | |
parent | Add RPS1 and RPS2 right prompt variables (diff) | |
download | src-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 'port/caesar/caesar.c')
0 files changed, 0 insertions, 0 deletions