sily-terminal 1.3.0
Terminal utils, TUI, bash escape sequences
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
sily-terminal
Terminal utils, TUI, bash escape sequences
Modules
- sily.logger - Print pretty logs
- sily.terminal - Terminal/Bash utils
- sily.tui - Terminal UI made easy
Logger
sily.logger:
log
: Prints nice message using full terminal width. Can be set to display Message (not affected by global log level), Trace, Info, Warning, Error, Critical and Fatal messages. Also global log level can be set which will prevent some of messages from showinghr
: Prints long horizontal line and if message is set then puts text in middle of lineblock
: Prints code block with titlecenter
: Prints message in center of screenprintCompilerInfo
: Prints compiler info in form of[Compiler: Ver] Compiled at: Date
progress
: Print progress bars configured with ProgressBar struct. Must be manually erased (possibly by usingeraseLines(NUM);
fromsily.bashfmt
)
sily.logger.pixelfont:
Contains two pixel fonts. Not recommended for continious use.
print5x6
: Prints text in 5x6 pixel font using unicode charactersget5x6
: Gets text in 5x6 font as stringprint3x4
: Prints text in 3x4 pixel font using unicode charactersget3x4
: Gets text in 3x4 font as string
sily.terminal
sily.bashfmt
: Contains almost all vt200/xterm bash formatting/cursor/screen sequencessily.terminal
: Utils to get info about terminal or manipulate iostream
- 1.3.0 released 10 months ago
- al1-ce/sily-terminal
- MIT
- Copyright © 2023, Alisa Lain
- Authors:
- Sub packages:
- sily-terminal:logger, sily-terminal:tui
- Dependencies:
- sily, speedy-stdio
- Versions:
-
4.0.0 2024-May-03 1.3.0 2023-Dec-06 1.2.1 2023-May-19 1.2.0 2023-May-19 1.1.0 2023-May-17 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
41 downloads total
-
- Score:
- 0.0
- Short URL:
- sily-terminal.dub.pm