1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:57:47 +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); scroll_left(row, cursor_column(), num);
} }
void Terminal::DECPNM() void Terminal::DECKPNM()
{ {
dbgln("FIXME: implement setting the keypad to numeric mode"); dbgln("FIXME: implement setting the keypad to numeric mode");
} }
void Terminal::DECPAM() void Terminal::DECKPAM()
{ {
dbgln("FIXME: implement setting the keypad to application mode"); dbgln("FIXME: implement setting the keypad to application mode");
} }
@ -1081,10 +1081,10 @@ void Terminal::execute_escape_sequence(Intermediates intermediates, bool ignore,
DECFI(); DECFI();
return; return;
case '=': case '=':
DECPAM(); DECKPAM();
return; return;
case '>': case '>':
DECPNM(); DECKPNM();
return; return;
} }
unimplemented_escape_sequence(intermediates, last_byte); unimplemented_escape_sequence(intermediates, last_byte);

View file

@ -366,10 +366,10 @@ protected:
void DECDC(Parameters); void DECDC(Parameters);
// DECPNM - Set numeric keypad mode // DECPNM - Set numeric keypad mode
void DECPNM(); void DECKPNM();
// DECPAM - Set application keypad mode // DECPAM - Set application keypad mode
void DECPAM(); void DECKPAM();
#ifndef KERNEL #ifndef KERNEL
TerminalClient& m_client; TerminalClient& m_client;