eclair
eclair copied to clipboard
Fix crash when resizing terminal buffer in server selection menu
Fixes #8
Add error handling to the resize method in lib/eclair/grid.rb to gracefully handle terminal buffer size changes.
- Wrap the existing
resizemethod code in abegin-rescueblock to catch and handle exceptions. - Add a
log_errormethod to log any errors encountered during the resize process to an "error.log" file.