Crate multi_window_output

Source
Expand description

multi-window-output is a tool for allowing multiple output windows in the same screen. You can have as many Screens as you please; however, everytime you call Screen::flush() or Screen::println(), the current terminal screen will be replaced with the output of the calling screen.

Structs§

Bridge
Bridge is a complement for Screen. It allows you to print new lines in windows from different threads. You initiate a Bridge by passing a pre-created Screen. The only disadvantage of using Bridge is that you can’t create new children once you have created the Bridge. Run Bridge::clone(&self) to access bridge from multiple threads. Ideally, run Bridge::kill(&self) before ending program to kill the screening process. However, it is not neccessary.
Screen
A Screen contains multiple windows. When initiated, a Screen only contains one window with id = 0.