Skip to content

add a on_process_terminated private function to allow always cleanly restoring terminal #36

@RaphGL

Description

@RaphGL

If the TUI process is forcibly terminated then we're unable to restore the terminal to its original state.
This leads to the terminal being potentially borked, to prevent this like ncurses does, we should add handlers that clean up everything before exiting
using core:sys/posix and core:sys/windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions