aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tty.c b/tty.c
index 59ed3bb8..a5067b12 100644
--- a/tty.c
+++ b/tty.c
@@ -241,6 +241,10 @@ tty_start_tty(struct tty *tty)
tty->flags |= TTY_STARTED;
tty_force_cursor_colour(tty, "");
+
+ tty->mouse_drag_flag = 0;
+ tty->mouse_drag_update = NULL;
+ tty->mouse_drag_release = NULL;
}
void