Text editor and TUI multiplexing library, for fun and education.
- Floating windows
- Render optimizations
- Horizontal and vertical splits
- Global keyboard events
- Extensible widget trait
- Conventient layout primitives
- Focus
- Focused-widget keyboard events
- Mouse events
Watch in fullscreen, the lines don't render properly in a small viewport.
FloatingDemo.webm
The TUI library is not yet ready for use so it hasn't been published yet, but you can run the demo
if you want to try it out.
$ git clone [email protected]:willothy/red
$ cd red
$ cargo run --example demo
<C-q>
: quit<Tab>
: switch layout (not working with new UI manager yet)<Shift-Tab>
: switch current float<Up>
: move the current float up<Down>
: move the current float down<Left>
: move the current float left<Right>
: move the current float right<Shift-Up>
: resize the current float<Shift-Down>
: resize the current float<Shift-Left>
: resize the current float<Shift-Right>
: resize the current float