• Re: Announce: zesty v0.1 released

    From Ashok@21:1/5 to Nicolas Robert on Mon Jun 16 13:46:02 2025
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)