[−][src]Crate fowlhouse_bay
⚠ WARNING, USING THIS CRATE IS NOT RECOMMENDED YET ⚠
The fowlhouse_bay crate provides an easy to use tui client. You can create windows and attach messages to these windows using channels. So, different parts of your software, can send messages to different text based windows on the same terminal.
Example
The following ASCII art example should illustrate how a possible tui could look like. The windows 'Logfile' and 'Ping' where created using this library and the software using it has sent messages to each of the windows. The user executing the software types the string 'command x y' which will be sent to the software using this library through channels.
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ PowerShell _ □ x ┃
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃╔Logfile:═════════════════════╗╔Ping:══════════════════════╗┃
┃║loading resource file ║║ping ║┃
┃║successfully created item xy ║║pong ║┃
┃╚═════════════════════════════╝║ping ║┃
┃ ╚═══════════════════════════╝┃
┃STDIN:~$ command x y ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Modules
error | This module specifies the error types returned by the |
window | This module specifies the |
Structs
Term | Term is a tui client. |
Constants
MAX_MESSAGES_PER_CHANNEL | There is a |