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

Error is shown to user only the first time #58

Closed anufrievroman closed 1 year ago

anufrievroman commented 1 year ago

Something is broken with the logging and error feedback system. The first time user makes a mistake, the error is show, but after clear_buffer() is executed to clean the error, something breaks and new errors are no longer displayed, though they are correctly logged into the file. Must have something to do with the way the buffer is cleared with self.buffer = io.StringIO(), which technically creates a new one.

anufrievroman commented 1 year ago

Fixed with d5e4fdfe9e94945cb0841061a750a27d15309d3f