ref: 3503bcb69f1c0a6aa1fa13e6743d141b504f7458
parent: 5d8816881fb5e701947896d65e09685f2b921462
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Oct 16 12:50:29 EDT 2024
Key_Console: correctly clear out the edit line
--- a/keys.c
+++ b/keys.c
@@ -174,6 +174,7 @@
edit_line = (edit_line + 1) & 31;
history_line = edit_line;
key_lines[edit_line][0] = ']';
+ key_lines[edit_line][1] = 0;
key_linepos = 1;
if (cls.state == ca_disconnected)
SCR_UpdateScreen (false); // force an update, because the command
@@ -242,6 +243,7 @@
if (history_line == edit_line)
{
s[0] = ']';
+ s[1] = 0;
key_linepos = 1;
}
else