Skip to content

Commit 4db3d1f

Browse files
committed
Fix: corrected wrong backspace behavior
Signed-off-by: Kevin Witteveen <[email protected]>
1 parent b021299 commit 4db3d1f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

console.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -901,8 +901,7 @@ int console_handle_special_char(struct cons_insts_s *inst, char *c)
901901
{
902902
console_get_cursor(inst, &x, &y);
903903
console_set_cursor(inst, x - 1, y);
904-
(*c) = ' ';
905-
return 1;
904+
return 0;
906905
}
907906

908907
case '\t':

0 commit comments

Comments
 (0)