Skip to content

Commit

Permalink
Merge pull request bcpierce00#927 from tleedjarv/terminated
Browse files Browse the repository at this point in the history
Improve the TUI output when interrupted
  • Loading branch information
gdt authored May 28, 2023
2 parents 5561201 + 5102ddd commit 42a0736
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/uitext.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1581,6 +1581,9 @@ let getProfile default =
!selection

let handleException e =
(* Keep the current status line (if any) and don't repeat it any more *)
alwaysDisplay "\n";
Util.set_infos "";
restoreTerminal();
let msg = Uicommon.exn2string e in
let () =
Expand Down

0 comments on commit 42a0736

Please sign in to comment.