mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
LibLine: Keep the CSI bytes alive across read events
Otherwise we would lose the CSI parameters and intermediates if the whole sequence was split between two reads. Fixes #7835.
This commit is contained in:
parent
d8c5eeceab
commit
f82aa87d14
1 changed files with 2 additions and 2 deletions
|
@ -815,9 +815,9 @@ void Editor::handle_read_event()
|
|||
Utf8View input_view { StringView { m_incomplete_data.data(), valid_bytes } };
|
||||
size_t consumed_code_points = 0;
|
||||
|
||||
Vector<u8, 4> csi_parameter_bytes;
|
||||
static Vector<u8, 4> csi_parameter_bytes;
|
||||
static Vector<u8> csi_intermediate_bytes;
|
||||
Vector<unsigned, 4> csi_parameters;
|
||||
Vector<u8> csi_intermediate_bytes;
|
||||
u8 csi_final;
|
||||
enum CSIMod {
|
||||
Shift = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue