summaryrefslogtreecommitdiff
path: root/src/gui/gui-key.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-03-04 10:32:55 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-03-04 10:32:55 +0100
commit152394689a5fe8d43e3e13ca37ffec5e65a44e84 (patch)
tree30dbe8cdcd7c60f03f90acb6afde77539ec2f34b /src/gui/gui-key.h
parentd43e9c11e5bf98f1e938c87d34dc8a0e5dcb5e5e (diff)
downloadweechat-152394689a5fe8d43e3e13ca37ffec5e65a44e84.zip
core: add support of terminal "bracketed paste mode" (task #11316)
Diffstat (limited to 'src/gui/gui-key.h')
-rw-r--r--src/gui/gui-key.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/gui-key.h b/src/gui/gui-key.h
index e9958a043..c418e8499 100644
--- a/src/gui/gui-key.h
+++ b/src/gui/gui-key.h
@@ -75,6 +75,7 @@ extern int gui_key_grab_count;
extern int *gui_key_buffer;
extern int gui_key_buffer_size;
extern int gui_key_paste_pending;
+extern int gui_key_paste_bracketed;
extern time_t gui_key_last_activity_time;
/* key functions */
@@ -109,7 +110,10 @@ extern void gui_key_free_all (struct t_gui_key **keys,
int *keys_count);
extern void gui_key_buffer_reset ();
extern void gui_key_buffer_add (unsigned char key);
+extern void gui_key_paste_start ();
+extern void gui_key_paste_bracketed_start ();
extern int gui_key_get_paste_lines ();
+extern int gui_key_paste_check (int bracketed_paste);
extern void gui_key_paste_accept ();
extern void gui_key_paste_cancel ();
extern void gui_key_end ();