diff options
author | June McEnroe <june@causal.agency> | 2020-12-23 16:21:24 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-01-21 22:04:33 -0500 |
commit | 1a3bc6209c60bea2a26b0ed69628308f1e59ab32 (patch) | |
tree | b87e8a05abf4476500b75c6e4ee5a04c18d984e2 /src/arith_yacc.c | |
parent | dash: Add RPS1 and RPS2 right prompt variables (diff) | |
download | dash-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/arith_yacc.c')
0 files changed, 0 insertions, 0 deletions