# utty **Repository Path**: UniCoderGroup/utty ## Basic Information - **Project Name**: utty - **Description**: An universal tty framework. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-18 - **Last Updated**: 2022-02-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # UTty An advanced node.js tty class. ### Introduction We know that `process.stdout` in node.js is a WriteStream with tty support. But there is a lot of troubles using the standard tty class, because some unsupported methods. > **We can't do these things through standard tty:** > - Get current cursor coordinate. > - Redraw a line that is not inside the screen. > - ... So there is *UTty*, to solve these problems. ### Theory Utty is a proxy of a standard tty. It records the current line according to the outputs. > CATION: current line **≠** current y! > |name | differences | > |----------|-------------| > |current line| Start as 0 when UTty is constructed| > |current y|We don't know what its value is. It is safe to only operate delta y| ### Related Repos - [UCON](https://github.com/UniCoderGroup/ucon/)