6 comments

  • drob5181 hour ago
    I find it interesting that people still build and like TUIs that have menus and buttons. Trying to stuff a 1980s windowing paradigm into a terminal just seems odd to me. I never really liked the Borland interface. The article says that menus provide discoverability without having to read a manual, which is true, but at a cost of a whole line of precious text in the term and multiple keystrokes with modifiers to open the menu. Seems like a help key with a pop-up overlay could give you just as much discoverability. Anyway these Borland-style TUIs just keep hanging around. IMO, better to embrace something more like Emacs with built-in help.
  • noelwelsh1 hour ago
    Coincidentally I&#x27;m working on my own TUI framework for my book [1], so it&#x27;s always interesting to see how other people approach it. I wouldn&#x27;t, for example, use windows and drop-downs in the terminal; I think there are better approaches. Some of the most interesting text-focused UI experiments are taking place in Emacs and Vim, so that&#x27;s where I&#x27;m taking inspiration from.<p>My framework is demonstrating the capability-passing approach to effects, which is the underlying architecture in most modern JS frameworks, Jetpack Compose, and &quot;immediate mode&quot; toolkits (though the authors are not necessarily aware of capability-passing as a concept). If you&#x27;ve read recent posts on &quot;algebraic effects&quot; or &quot;effect handlers&quot; it&#x27;s in the same space. It makes for a quite pleasant user experience. I&#x27;m enjoying the work uniting theory and practice; one of the benefits of writing the book is I can justify these excursions.<p>[1]: <a href="https:&#x2F;&#x2F;functionalprogrammingstrategies.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;functionalprogrammingstrategies.com&#x2F;</a>
  • joouha3 hours ago
    This looks really nice in the screen-shots.<p>I&#x27;m working on what is effectively a fork of prompt_toolkit [1], which supports many modern terminal features I needed for euporie [2], such as terminal graphics, extra text styles, color palette detection, terminal clipboard, synchronized outputs, CSI-u, mouse pixel positioning, etc.<p>I&#x27;d be very interested to test it&#x27;s performance and to read your code (I&#x27;m not an AI, promise :)<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;joouha&#x2F;euporie&#x2F;tree&#x2F;dev&#x2F;packages&#x2F;apptk" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;joouha&#x2F;euporie&#x2F;tree&#x2F;dev&#x2F;packages&#x2F;apptk</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;joouha&#x2F;euporie" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;joouha&#x2F;euporie</a>
  • yummybrainz2 hours ago
    &gt; Startup time really is an issue with Python, because import is super slow.<p>Python has lazy imports coming soon in 3.15!<p>Source: <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3.15&#x2F;whatsnew&#x2F;3.15.html#whatsnew315-lazy-imports" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3.15&#x2F;whatsnew&#x2F;3.15.html#whatsnew315-...</a>
  • armcat3 hours ago
    This looks beautiful and I&#x27;m sorry the current state of affairs has made you not want to publish the code, I would love to play around with it. Regarding your decision to build - I feel you, I&#x27;ve had the same happen to me for everything from charting libs to various web components.<p>As an aside, I really like your web page - simple and clean with images and demos, no bloat.
  • onesingleblast1 hour ago
    [dead]