diff options
author | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2023-12-19 02:08:53 +0100 |
---|---|---|
committer | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2023-12-19 02:12:08 +0100 |
commit | 1e8c290a9937fb74ff7ec2b7ea288b2626ceba3c (patch) | |
tree | 79fe0e283f0bfc7671adbd57b419d522165ac8b0 /stage3/font.c | |
parent | 6d263c7d4e0f4b1d34694b5d3d159ccb20b3db02 (diff) | |
download | cuddles-1e8c290a9937fb74ff7ec2b7ea288b2626ceba3c.tar.xz |
handle backspace
Diffstat (limited to 'stage3/font.c')
-rw-r--r-- | stage3/font.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stage3/font.c b/stage3/font.c index 69017ca..67127f6 100644 --- a/stage3/font.c +++ b/stage3/font.c @@ -113,8 +113,10 @@ void print_char(char c) break; case '\b': - if (cursor_x > 0) + if (cursor_x > 0) { cursor_x--; + render_char(' '); + } break; case '\r': |