diff options
| author | Maxime Coste <mawww@kakoune.org> | 2023-03-13 20:37:45 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2023-03-13 20:37:45 +1100 |
| commit | f05ab99d4d7322055f7eb9b9d86b529062885208 (patch) | |
| tree | d7feff3cf4bef65b5979dbfeec267a22271848a2 /src/input_handler.hh | |
| parent | 38077ca8265358894fe831dd274f6f6eadbd7455 (diff) | |
| parent | 1990a764e3d2ffa77931068f876cd49f76bd43f9 (diff) | |
Merge remote-tracking branch 'krobelus/bracketed-paste'
Diffstat (limited to 'src/input_handler.hh')
| -rw-r--r-- | src/input_handler.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh index 5cb150b5..b7e53aaf 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -72,6 +72,8 @@ public: void insert(InsertMode mode, int count); // repeat last insert mode key sequence void repeat_last_insert(); + // insert a string without affecting the mode stack + void paste(StringView content); // enter prompt mode, callback is called on each change, // abort or validation with corresponding PromptEvent value |
