mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
LibLine: Parse CSI parameters and immediates
No behavior change, but it makes it easy to handle page up and page down if we wanted to make them do something in libline.
This commit is contained in:
parent
365fa05a82
commit
2fe127d96f
2 changed files with 52 additions and 22 deletions
|
@ -471,8 +471,9 @@ private:
|
|||
enum class InputState {
|
||||
Free,
|
||||
GotEscape,
|
||||
GotEscapeFollowedByLeftBracket,
|
||||
ExpectTerminator,
|
||||
CSIExpectParameter,
|
||||
CSIExpectIntermediate,
|
||||
CSIExpectFinal,
|
||||
};
|
||||
InputState m_state { InputState::Free };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue