summaryrefslogtreecommitdiff
path: root/pico/composer.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-04-28 21:10:13 -0600
committerEduardo Chappa <chappa@washington.edu>2021-04-28 21:10:13 -0600
commitc8812ee61f137936edfff613f8c475e69326e6a7 (patch)
treeb39c5b611987cf3be7227c689074d88fd180a100 /pico/composer.c
parent3e9f5e0b67a6b74bd5771e92079639a9ff02f194 (diff)
downloadalpine-c8812ee61f137936edfff613f8c475e69326e6a7.tar.xz
* Fix of the list of files in the browser for terminals that need to erase
inverse video to stop inverse video. W=Work in collaboration with professor Martin Trusler.
Diffstat (limited to 'pico/composer.c')
-rw-r--r--pico/composer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pico/composer.c b/pico/composer.c
index ac884f89..5c538de1 100644
--- a/pico/composer.c
+++ b/pico/composer.c
@@ -3405,6 +3405,8 @@ display_delimiter(int state)
movecursor(ComposerTopLine - 1, 0);
if(state)
(*term.t_rev)(1);
+ else if (*term.t_eri)
+ (*term.t_eri)();
while(*bufp != '\0')
pputc(*bufp++, state ? 1 : 0);
@@ -3491,6 +3493,8 @@ InvertPrompt(int entry, int state)
movecursor(i, 0);
if(state)
(*term.t_rev)(1);
+ else if (*term.t_eri)
+ (*term.t_eri)();
while(*bufp && *(bufp + 1))
pputc(*bufp++, 1); /* putc up to last char */