KazDragon / terminalpp

A C++ library for interacting with ANSI terminal windows.
MIT License
75 stars 10 forks source link

Improper draw after reaching the end of a line on certain terminals #265

Closed KazDragon closed 3 years ago

KazDragon commented 3 years ago

The behaviour of the cursor when it reaches the end of the line is not well-defined. Terminals such as xterm wrap the cursor, whereas PuTTY on Windows just bump up against the end of the screen. As such, the cursor cannot be considered to be in a well-known location after writing the last character on a line.