last rendered cursor_bg color and re-use it when trail rendering

This commit is contained in:
Rick Choi
2024-10-19 18:16:26 +09:00
parent 25caf90a80
commit fe63c6ddfd
2 changed files with 5 additions and 3 deletions

View File

@@ -97,6 +97,7 @@ typedef struct {
struct {
unsigned int cursor_x, cursor_y, scrolled_by;
index_type lines, columns;
color_type cursor_bg;
} last_rendered;
bool is_dirty, scroll_changed, reload_all_gpu_data;
Cursor *cursor;