eclair icon indicating copy to clipboard operation
eclair copied to clipboard

Fix crash when resizing terminal buffer in server selection menu

Open johnny603 opened this issue 9 months ago • 0 comments

Fixes #8

Add error handling to the resize method in lib/eclair/grid.rb to gracefully handle terminal buffer size changes.

  • Wrap the existing resize method code in a begin-rescue block to catch and handle exceptions.
  • Add a log_error method to log any errors encountered during the resize process to an "error.log" file.

johnny603 avatar Apr 01 '25 20:04 johnny603