KazDragon / terminalpp

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

Cursor location is now unknown after writing the last character in a line #268

Closed KazDragon closed 3 years ago

KazDragon commented 3 years ago

Since different terminals behave differently at the end of a line (either by wrapping or not), forgetting the current position allows all terminals to behave similarly.

Fixes #265


This change is Reviewable

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.007%) to 96.239% when pulling 3d6417475192504540d2d9a5693bdd211ebcfda4 on forget_cursor_location_after_line_end#265 into 08ce82a6318611e55cb771c3b6ea0f8a75ee0586 on master.