anufrievroman / calcure

Modern TUI calendar and task manager with minimal and customizable UI.
https://anufrievroman.gitbook.io/calcure
MIT License
1.51k stars 43 forks source link

Allow input commands to be canceled with ESC instead of empty input #56

Closed LanHikari22 closed 1 year ago

LanHikari22 commented 1 year ago

Currently, if you press e to edit an event name, you have to input some empty string for it to cancel out. Same for the date inputs, event id input, new title input. These command inputs should recognize escape and just cancel.

anufrievroman commented 1 year ago

I agree it would be nice, but as far as I can see standard curses library doesn't allow that, you sort of must press Return to finish your input. Like I said in another thread, it seems that only switching to other libraries would fix that.

anufrievroman commented 1 year ago

So, I'll close this issue for now, as I don't see a way to implement it easily.