recover safely from hinter exceptions

This commit is contained in:
Jorge Morante 2024-01-18 11:28:10 +01:00
parent 680d801770
commit 7e408344b2
1 changed files with 7 additions and 1 deletions

View File

@ -28,7 +28,13 @@ module Fingers
def render
clear_screen
hide_cursor
hinter.run
begin
hinter.run
rescue e
Log.fatal { e }
request_exit!
end
end
def process_input(input : String)