gabrielzschmitz / Tomato.C

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

Timer not run when opening notepad #30

Closed tienbuigia closed 8 months ago

tienbuigia commented 9 months ago

Hi, I've been using tomato.c daily, thanks to you.

Lately, I notice we have new feature, it's notepad. So instead of open a vim buffer to write tasks, I use this instead.

I was doing tasks for hours until I realize I did not receive any break time reward because I was keeping the note open.

And when you pause, the note won't show anything.

Thank you again.

gabrielzschmitz commented 9 months ago

Try it out now, and give me some feedback! It should be implemented.

tienbuigia commented 8 months ago

Sorry for the slow response, Time is definitely running when open notepad now, but fixing this seems to generated another problem.

Now when I switch focus from tomato to another application or back to tomato, it seems to receive a q, and quit out. Tested on dwm and Hyprland.

gabrielzschmitz commented 8 months ago

Looks like the program is getting ALT+NUMBER like a ESC, for some reason. Please make a new issue, just to separate the problems 😅