From 74a75b28f8d920885c6939c4d87819df6c5dba72 Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Windows 11)" <rob@synchro.net> Date: Tue, 11 Feb 2025 16:43:59 -0800 Subject: [PATCH] Save/restore the row number in insert_indicator() This was the cause of some very slight funkiness when displaying files after a save/restore (e.g. Ctrl-T or other global hot key) operation. --- src/sbbs3/getstr.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sbbs3/getstr.cpp b/src/sbbs3/getstr.cpp index 33cad3ee00..bce364c7f5 100644 --- a/src/sbbs3/getstr.cpp +++ b/src/sbbs3/getstr.cpp @@ -701,6 +701,7 @@ void sbbs_t::insert_indicator(void) if (term_supports(ANSI)) { char str[32]; int col = column; + auto row = this->row; ansi_save(); ansi_gotoxy(cols, 1); int tmpatr; @@ -714,5 +715,6 @@ void sbbs_t::insert_indicator(void) putcom(ansi_attr(curatr, tmpatr, str, term_supports(COLOR))); ansi_restore(); column = col; + this->row = row; } } -- GitLab