terminal: remove upper character range check
The more constrained upper limit leads to ommitted characters like umlauts. Fixes #2957.
This commit is contained in:
parent
358759f609
commit
0603481aaa
|
@ -215,7 +215,7 @@ class Char_cell_array_character_screen : public Terminal::Character_screen
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (0x1f < c.ascii() && c.ascii() < 0x7f) {
|
if (c.ascii() > 0x1f) {
|
||||||
Cursor_guard guard(*this);
|
Cursor_guard guard(*this);
|
||||||
_char_cell_array.set_cell(_cursor_pos.x, _cursor_pos.y,
|
_char_cell_array.set_cell(_cursor_pos.x, _cursor_pos.y,
|
||||||
Char_cell(c.ascii(), Font_face::REGULAR,
|
Char_cell(c.ascii(), Font_face::REGULAR,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user