From 8bd969262b091b910560d183c57df5ee09805fbb Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 17 Jul 2019 21:30:57 +0200 Subject: selection: implement double-click-to-select-word --- terminal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'terminal.h') 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; -- cgit v1.3