Expand description
multi-window-output is a tool for allowing multiple output windows in the same screen. You can
have as many Screen
s 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 forScreen
. It allows you to print new lines in windows from different threads. You initiate aBridge
by passing a pre-createdScreen
. The only disadvantage of usingBridge
is that you can’t create new children once you have created theBridge
. RunBridge::clone(&self)
to access bridge from multiple threads. Ideally, runBridge::kill(&self)
before ending program to kill the screening process. However, it is not neccessary.- Screen
- A
Screen
contains multiple windows. When initiated, aScreen
only contains one window withid = 0
.