Simplify implementation of REP

Also make it align more with the standard by using the actual last drawn
graphics character rather than the character before the cursor
This commit is contained in:
Kovid Goyal
2021-01-03 04:38:02 +05:30
parent 8f58140419
commit b3ed4c3f40
4 changed files with 22 additions and 20 deletions

View File

@@ -192,7 +192,7 @@ handle_normal_mode_char(Screen *screen, uint32_t ch, PyObject DUMP_UNUSED *dump_
break; // no-op
default:
REPORT_DRAW(ch);
screen_draw(screen, ch);
screen_draw(screen, ch, true);
break;
}
#undef CALL_SCREEN_HANDLER