Sujet : Re: Announce: zesty v0.1 released
De : apnmbx-public (at) *nospam* yahoo.com (Ashok)
Groupes : comp.lang.tclDate : 16. Jun 2025, 09:16:02
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <102ojs2$1geu7$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
Looks really nice and widely useful!
One tiny suggestion - on Windows, to detect whether you are running under the new terminal or not, it might be easier to just check for one of the WT_SESSION or WT_PROFILE_ID environment variables and traverse the process ancestors only if those variables do not exist.
/Ashok
On 6/16/2025 12:23 AM, Nicolas Robert wrote:
I'm pleased to announce the first release of zesty, a Tcl library for
rich terminal output.
What is zesty?
zesty is a pure (More or less!) Tcl package that enables developers to
create visually appealing command-line interfaces.
What zesty offers:
- 256-color support.
- Progress bars with time estimation and animations.
- Tables with intelligent word wrapping.
- Styled boxes for content highlighting.
- JSON pretty-printing.
Requirements:
Tcl 8.6 or higher.
Windows: twapi or tcl-cffi >= 2.0
Unix/Linux: ANSI-compatible terminal
Optional huddle::json package (for JSON formatting) from Tcllib
Note : Primary testing has been conducted on Windows (both Windows
Terminal.exe and cmd.exe) and macOS. Linux compatibility is expected but
may require additional validation.
Links:
GitHub: https://github.com/nico-robert/zesty
Regards
Nicolas