When Should STDERR Be Preferred over STDOUT in Terminal Manipulation

2024-02-12
Forward links: id:Alternate Screen related:TUI Backward links:

As Dheepak Krishnamurthy: Ratatui Tutorials - JSON Editor - main.rs(Krishnamurthy 2023) says, if we want to allow the user to redirect the STDOUT pipe, its content needs to be something meaningful; By manipulating the command line interface (for example Alternate Screen) with STDERR and output the result to STDOUT, this can be achieved.

Reference

Krishnamurthy, Dheepak. 2023. “Ratatui Tutorials - Json Editor - Main.Rs.” November 27, 2023. https://ratatui.rs/tutorials/json-editor/main/.