Browse Source
Ensure console mouse events are turned off on exit (#82)
Co-authored-by: Russ Magee <rmagee+simplyembedded@gmail.com>
master
Russtopia
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
tui_main.c
|
@ -3855,6 +3855,9 @@ quit: |
|
|
qnav_deinit(); |
|
|
qnav_deinit(); |
|
|
if (cont_window) |
|
|
if (cont_window) |
|
|
delwin(cont_window); |
|
|
delwin(cont_window); |
|
|
|
|
|
#ifndef FEAT_NOMOUSE |
|
|
|
|
|
printf("\033[?1003l\n"); // turn off console mouse events if they were active
|
|
|
|
|
|
#endif |
|
|
printf("\033[?2004h\n"); // Tell terminal to not use bracketed paste
|
|
|
printf("\033[?2004h\n"); // Tell terminal to not use bracketed paste
|
|
|
endwin(); |
|
|
endwin(); |
|
|
ged_deinit(&t.ged); |
|
|
ged_deinit(&t.ged); |
|
|