diff options
Diffstat (limited to 'kernel/vesa.c')
| -rw-r--r-- | kernel/vesa.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/vesa.c b/kernel/vesa.c index 7001e02..b0e9885 100644 --- a/kernel/vesa.c +++ b/kernel/vesa.c @@ -172,9 +172,15 @@ void PutString(char *str, int x,int y, int color, va_list va) void PutConsoleChar(char c, int color) { + if(c=='\n') + { + PutConsoleNL(); + return; + } PutFont(c, console_x*10,console_y*12, color); console_x++; + #ifdef FOOLOS_CONSOLE_AUTOBREAK if(console_x>console_cols)PutConsoleNL(); #endif |
