forked from Bananymous/banan-os
TTY: Treat tabs as spaces
This commit is contained in:
parent
e998615253
commit
5ba7af2cf6
|
@ -96,6 +96,9 @@ void terminal_set_cursor_pos(int x, int y)
|
|||
|
||||
void terminal_putchar(char c)
|
||||
{
|
||||
if (c == '\t')
|
||||
c = ' ';
|
||||
|
||||
if (c == '\n')
|
||||
{
|
||||
terminal_col = 0;
|
||||
|
|
Loading…
Reference in New Issue