Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Ashok Newsgroups: comp.lang.tcl Subject: Re: Announce: zesty v0.1 released Date: Mon, 16 Jun 2025 13:46:02 +0530 Organization: A noiseless patient Spider Lines: 43 Message-ID: <102ojs2$1geu7$1@dont-email.me> References: <22e9060dfe7907d783e2a030c41926c1@www.novabbs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 16 Jun 2025 10:16:03 +0200 (CEST) Injection-Info: dont-email.me; posting-host="438672a99d0e2a5cb7535444aa00e56b"; logging-data="1588167"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+U/WFXj2YwxFai3bKD0bp2" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:xUytecgl/VcnUh+ifslWRcPoUsY= In-Reply-To: <22e9060dfe7907d783e2a030c41926c1@www.novabbs.com> Content-Language: en-US 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