Skip to content
Snippets Groups Projects
Commit 74a75b28 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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.
parent f38ca28f
Branches
Tags
No related merge requests found
Pipeline #8228 passed
......@@ -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;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment