Commit Graph

6 Commits

Author SHA1 Message Date
4be3451fbf mod(app): interrupt application correctly 2024-11-07 21:55:19 +01:00
4ded0210ee mod(Render): fullscreen option as comptime configuration through App(..) 2024-11-06 17:06:45 +01:00
9b165e8f81 add/mod the following features
- split structure for better inclusions
- create PlainRenderer to render contents to the terminal
- simplify events
- clearify what structs are created on the heap and which are on the stack
- quit event is now emitted from the main event loop and not the input loop (see helper function `App.quit`)
- rename several variables and/or functions for easier understanding
- introduce `App.interrupt` to stop the input thread and start a new sub TUI which takes over the entire screen (i.e. 'hx', 'nvim', etc.)
2024-11-06 15:20:34 +01:00
9ddbb19336 add: signal handling WINCH, user input thread with waiting blocking 2024-11-06 01:38:55 +01:00
b0b262ae0b mod(read_input): read user input from tty 2024-11-05 19:59:55 +01:00
14aab9ef50 mod(tui): create own terminal interface framework 2024-11-04 22:27:45 +01:00