aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-17 19:30:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-17 19:30:57 +0000
commit8bd969262b091b910560d183c57df5ee09805fbb (patch)
treee7532d346ebddbf086467b1989763d88f65e628b /terminal.h
parentselection: bug: apply grid's view offset when starting a selection (diff)
selection: implement double-click-to-select-word
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 71a77ddb..d17d2128 100644
--- a/terminal.h
+++ b/terminal.h
@@ -253,6 +253,9 @@ struct terminal {
int col;
int row;
int button;
+
+ int last_button;
+ struct timeval last_time;
} mouse;
struct coord cursor;