From c5052505356fb95db7c8ac8b4844c009da0e94b0 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Thu, 13 Nov 2014 02:41:21 +0100 Subject: added support for FOOLOS_CONSOLE_AUTOBREAK off --- video/console.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'video') diff --git a/video/console.c b/video/console.c index c89424b..856c313 100644 --- a/video/console.c +++ b/video/console.c @@ -107,9 +107,14 @@ void scr_nextline() void scr_put_char(char ch,char col) { - print_char_col(posx,posy,ch,SCR_WHITE); + if(ch=='\n')scr_nextline(); + else if(posx=SCR_WIDTH)scr_nextline(); +#endif + } -- cgit v1.2.3