diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_kitty.c | 2 | ||||
-rw-r--r-- | video/out/vo_sixel.c | 2 | ||||
-rw-r--r-- | video/out/vo_tct.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/video/out/vo_kitty.c b/video/out/vo_kitty.c index f8f0b071c6..21ca1a9edf 100644 --- a/video/out/vo_kitty.c +++ b/video/out/vo_kitty.c @@ -362,6 +362,7 @@ static int preinit(struct vo *vo) #endif write_str(TERM_ESC_HIDE_CURSOR); + write_str(TERM_ESC_ENABLE_MOUSE); if (p->opts.alt_screen) write_str(TERM_ESC_ALT_SCREEN); @@ -389,6 +390,7 @@ static void uninit(struct vo *vo) #endif write_str(TERM_ESC_RESTORE_CURSOR); + write_str(TERM_ESC_DISABLE_MOUSE); if (p->opts.alt_screen) { write_str(TERM_ESC_NORMAL_SCREEN); diff --git a/video/out/vo_sixel.c b/video/out/vo_sixel.c index e05c45582d..d0d85f60c0 100644 --- a/video/out/vo_sixel.c +++ b/video/out/vo_sixel.c @@ -520,6 +520,7 @@ static int preinit(struct vo *vo) sixel_strwrite(TERM_ESC_ALT_SCREEN); sixel_strwrite(TERM_ESC_HIDE_CURSOR); + sixel_strwrite(TERM_ESC_ENABLE_MOUSE); /* don't use private color registers for each frame. */ sixel_strwrite(TERM_ESC_USE_GLOBAL_COLOR_REG); @@ -559,6 +560,7 @@ static void uninit(struct vo *vo) struct priv *priv = vo->priv; sixel_strwrite(TERM_ESC_RESTORE_CURSOR); + sixel_strwrite(TERM_ESC_DISABLE_MOUSE); if (priv->opts.alt_screen) sixel_strwrite(TERM_ESC_NORMAL_SCREEN); diff --git a/video/out/vo_tct.c b/video/out/vo_tct.c index 0ca6ea647f..d794a68cc1 100644 --- a/video/out/vo_tct.c +++ b/video/out/vo_tct.c @@ -299,6 +299,7 @@ static void flip_page(struct vo *vo) static void uninit(struct vo *vo) { WRITE_STR(TERM_ESC_RESTORE_CURSOR); + WRITE_STR(TERM_ESC_DISABLE_MOUSE); WRITE_STR(TERM_ESC_NORMAL_SCREEN); struct priv *p = vo->priv; talloc_free(p->frame); @@ -328,6 +329,7 @@ static int preinit(struct vo *vo) } WRITE_STR(TERM_ESC_HIDE_CURSOR); + WRITE_STR(TERM_ESC_ENABLE_MOUSE); WRITE_STR(TERM_ESC_ALT_SCREEN); return 0; |