Use byteloader for printable char ranges

This commit is contained in:
Kovid Goyal
2023-11-14 07:15:09 +05:30
parent 93430cd5f4
commit 2dffad1d8e
3 changed files with 16 additions and 17 deletions

View File

@@ -9,6 +9,7 @@
#include "vt-parser.h"
#include "graphics.h"
#include "monotonic.h"
#include "simd-string.h"
typedef enum ScrollTypes { SCROLL_LINE = -999999, SCROLL_PAGE, SCROLL_FULL } ScrollType;
@@ -167,7 +168,7 @@ void screen_cursor_back(Screen *self, unsigned int count/*=1*/, int move_directi
void screen_erase_in_line(Screen *, unsigned int, bool);
void screen_erase_in_display(Screen *, unsigned int, bool);
void screen_draw(Screen *screen, uint32_t codepoint);
void screen_draw_printable_ascii(Screen *self, const uint8_t *chars, size_t num);
void screen_draw_printable_ascii(Screen *self, ByteLoader* );
void screen_ensure_bounds(Screen *self, bool use_margins, bool cursor_was_within_margins);
void screen_toggle_screen_buffer(Screen *self, bool, bool);
void screen_normal_keypad_mode(Screen *self);