Commit ec06a168 authored by Deucе's avatar Deucе 👌🏾
Browse files

Fix issue with ATASCII delete/insert character.

Before the Unicode support was added, displaying a NUL would clear
the cell, but now it is translated.  For ATASCII, this results in
a heart character being displayed instead of an empty cell when
inserting or deleting characters.

Fixes bug #28 on Sourceforge.
parent e865c517
Pipeline #1481 passed with stage
in 9 minutes and 2 seconds
......@@ -5036,7 +5036,7 @@ CIOLIBEXPORT char* CIOLIBCALL cterm_write(struct cterminal * cterm, const void *
y = CURR_MAXY;
}
GOTOXY(x, y);
PUTCH(0);
PUTCH(32);
GOTOXY(x, y);
break;
/* We abuse the ESC buffer for tab stops */
......@@ -5118,7 +5118,7 @@ CIOLIBEXPORT char* CIOLIBCALL cterm_write(struct cterminal * cterm, const void *
coord_conv_xy(cterm, CTERM_COORD_CURR, CTERM_COORD_SCREEN, &ex, NULL);
MOVETEXT(sx, sy, ex - 1, sy, sx + 1, sy);
}
PUTCH(0);
PUTCH(32);
GOTOXY(x, y);
break;
default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment