gabrielzschmitz / Tomato.C

A pomodoro timer written in pure C.
GNU General Public License v3.0
315 stars 19 forks source link

After closing Tomato with q, terminal starts spamming gibberish #9

Closed writeblankspace closed 1 year ago

writeblankspace commented 1 year ago

image

Not touching my keyboard nor does this happen in any other apps. Starting with a fresh terminal solves it, but after opening and closing Tomato it happens again. Not sure if it's Tomato's fault, but it only started after I installed Tomato.

gabrielzschmitz commented 1 year ago

This happen in which application? I need to reproduce the error

gabrielzschmitz commented 1 year ago
        case ESC:
        case 'Q':
        case 'q':
            endwin();
+           /* Makes terminal stop reporting mouse movement events */
+           printf("\033[?1003l\n");
            exit(EXIT_SUCCESS);
            break;

Try to add that 2 lines in input.c and give a feedback