yaft: remove support for double-width characters

for our usecase (output of system commands), this is not necessary
This commit is contained in:
Stefan Seyfried
2018-01-27 16:44:42 +01:00
committed by Thilo Graf
parent 0485c2091f
commit 8adead92e1
4 changed files with 6 additions and 53 deletions

View File

@@ -27,12 +27,7 @@
/* function for control character */
void YaFT_p::bs(void)
{
if (mode & MODE_VWBS
&& cursor.x - 1 >= 0
&& cells[cursor.y][cursor.x - 1].width == NEXT_TO_WIDE)
move_cursor(0, -2);
else
move_cursor(0, -1);
move_cursor(0, -1);
}
void YaFT_p::tab(void)