mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:37:34 +00:00
LibVT: Implement Bracketed Paste Mode
This mode allow us to escape any data that was not directly typed by the user. `vim` currently uses this. If we implement it in the shell, we could prevent newlines from being injected into the shell by pasting text or dragging files into it (see #7276).
This commit is contained in:
parent
ee24f2eb2d
commit
708f835477
4 changed files with 53 additions and 12 deletions
|
@ -118,6 +118,8 @@ private:
|
|||
|
||||
void set_logical_focus(bool);
|
||||
|
||||
void send_non_user_input(const ReadonlyBytes&);
|
||||
|
||||
Gfx::IntRect glyph_rect(u16 row, u16 column);
|
||||
Gfx::IntRect row_rect(u16 row);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue