News for hackers. Stuff that matters.
Re:TermKit: A Rich Graphical Terminal (2011) by Per_Bothner on Wednesday March 02, 2022 @10:53AM (#30528671)
It you like TermKit's pretty-printing of JSON, check out: https://domterm.org/saved/dt-prettynested.html Try re-sizing the window width (to trigger smart re-breaking), and clicking the little triangles (to show/hide sub-trees of the output). The actual pretty-printing is application-specific (for example the PrintNested java program at the top), but the output contains certain escape sequences to mark logical structure, optional indentation, and show/hide buttons. Note this is basically a log of a terminal session from a few years ago, but saved as HTML, along with JavaScript to respond to the window-resize and show/hide actions.

There are no comments on this comment yet.