Terminal: Ignore some control characters

This commit is contained in:
Bananymous 2025-08-18 17:03:17 +03:00
parent 32d7f429f8
commit 8496726ab1
1 changed files with 8 additions and 0 deletions

View File

@ -669,6 +669,14 @@ Rectangle Terminal::putcodepoint(uint32_t codepoint)
auto& texture = m_window->texture(); auto& texture = m_window->texture();
switch (codepoint) switch (codepoint)
{ {
case 0x00: // null
case 0x01: // start of heading
case 0x02: // start of text
case 0x1C: // file separator
case 0x1D: // group separator
case 0x1E: // record separator
case 0x1F: // unit separator
break;
case '\a': case '\a':
// TODO: bell // TODO: bell
break; break;