Skip to content
Snippets Groups Projects
Commit 2b4f61a8 authored by deuce's avatar deuce
Browse files

Fix autowrap disable.

parent 1a793d91
No related branches found
No related tags found
No related merge requests found
...@@ -4402,6 +4402,7 @@ advance_char(struct cterminal *cterm, int *x, int *y, int move) ...@@ -4402,6 +4402,7 @@ advance_char(struct cterminal *cterm, int *x, int *y, int move)
int bm = cterm->bottom_margin; int bm = cterm->bottom_margin;
if((*x == rm || *x == CURR_MAXX) && (!(cterm->extattr & CTERM_EXTATTR_AUTOWRAP))) { if((*x == rm || *x == CURR_MAXX) && (!(cterm->extattr & CTERM_EXTATTR_AUTOWRAP))) {
GOTOXY(*x, *y);
return; return;
} }
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment