• Announce: zesty v0.1 released

    From Nicolas Robert@nicolas.robert.19000@gmail.com to comp.lang.tcl on Sun Jun 15 18:53:45 2025
    From Newsgroup: comp.lang.tcl

    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
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Ashok@apnmbx-public@yahoo.com to comp.lang.tcl on Mon Jun 16 13:46:02 2025
    From Newsgroup: comp.lang.tcl

    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

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Nicolas Robert@nicolas.robert.19000@gmail.com to comp.lang.tcl on Mon Jun 16 20:35:07 2025
    From Newsgroup: comp.lang.tcl

    On Mon, 16 Jun 2025 8:16:02 +0000, Ashok wrote:

    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


    It's far better to proceed in that order.
    Thanks
    --- Synchronet 3.21a-Linux NewsLink 1.2