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 | 115d9322b60a86a2df6965ceebc10f8c388a97b3 (patch) | |
tree | 908f13616762657bb6ae7808331289b7ea94cef9 /bin/1sh/arith.h | |
parent | Add RPS1 and RPS2 right prompt variables (diff) | |
download | src-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