Move cursor render call to C

This commit is contained in:
Kovid Goyal
2017-09-13 11:12:10 +05:30
parent 6e4b977128
commit 13ac050bf8
12 changed files with 126 additions and 104 deletions

View File

@@ -63,6 +63,8 @@ void screen_apply_selection(Screen *self, void *address, size_t size);
bool screen_is_selection_dirty(Screen *self);
bool screen_invert_colors(Screen *self);
void screen_update_cell_data(Screen *self, void *address, size_t sz);
bool screen_is_cursor_visible(Screen *self);
unsigned long screen_current_char_width(Screen *self);
#define DECLARE_CH_SCREEN_HANDLER(name) void screen_##name(Screen *screen);
DECLARE_CH_SCREEN_HANDLER(bell)
DECLARE_CH_SCREEN_HANDLER(backspace)