1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibVT: Adjust some method names to align with documentation

Align DECKPAM and DECKPNM method names with those from
https://vt100.net/docs/vt100-ug/chapter3.html#DECKPAM
This commit is contained in:
hanaa12G 2023-12-05 04:40:57 +07:00 committed by Ali Mohammad Pur
parent aeed1e04ca
commit d6c8b4d279
2 changed files with 6 additions and 6 deletions

View file

@ -941,12 +941,12 @@ void Terminal::DECDC(Parameters params)
scroll_left(row, cursor_column(), num);
}
void Terminal::DECPNM()
void Terminal::DECKPNM()
{
dbgln("FIXME: implement setting the keypad to numeric mode");
}
void Terminal::DECPAM()
void Terminal::DECKPAM()
{
dbgln("FIXME: implement setting the keypad to application mode");
}
@ -1081,10 +1081,10 @@ void Terminal::execute_escape_sequence(Intermediates intermediates, bool ignore,
DECFI();
return;
case '=':
DECPAM();
DECKPAM();
return;
case '>':
DECPNM();
DECKPNM();
return;
}
unimplemented_escape_sequence(intermediates, last_byte);