1
Fork 0
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:
Daniel Bertalan 2021-05-24 12:01:59 +02:00 committed by Ali Mohammad Pur
parent ee24f2eb2d
commit 708f835477
4 changed files with 53 additions and 12 deletions

View file

@ -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);