aboutsummaryrefslogtreecommitdiff
path: root/src/edbox.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-16 05:52:16 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-16 05:52:16 -0400
commit3d82ea91464265f334f99ad26b919f6a9678799d (patch)
treee3b898e2e887e882c708b0d5c702ed005a791ac0 /src/edbox.c
parent90d92d8ef647ee866121c2932210b648409a2708 (diff)
downloadfujinet-chat-3d82ea91464265f334f99ad26b919f6a9678799d.tar.gz
Start+E exits when anything hides the editbox (like, pressing Return or Shift-Clear or Start+Up).
Diffstat (limited to 'src/edbox.c')
-rw-r--r--src/edbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/edbox.c b/src/edbox.c
index 8f325c2..f2b309f 100644
--- a/src/edbox.c
+++ b/src/edbox.c
@@ -45,6 +45,7 @@ void edbox_show(void) {
}
void edbox_hide(void) {
+ scr_end_scrollback(); /* exit Start+E mode */
edbox_visible = 0;
scr_refresh();
}