Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Refactor data flow and terminal library #117
The data flow design was slightly broken, a global
Now, there is a rewrite: the main loop renders the state, receives a
Terminal input handling is done in a separate task (to have
Commands, navigation, also network input puts something into the
The rendering now uses the notty library, which exposes combinators for rendering text. The rendering code is hugely improved (and much more readable), additionally, there is no need anymore to compute width and height manually.
There might be some regression (such as certain key bindings do not work, C-, C-, mark/yank/paste, undo/redo), also smart line wrapping (find whitespace within the last 10 chars) is not implemented yet.
There is no longer any need for
New features include that suggestions for commands are now rendered in lightgray (type
…e (and how to proceed)