jupyter-xeus / cpp-terminal

C++ library for writing multiplatform terminal applications
https://jupyter-xeus.github.io/cpp-terminal/
Other
527 stars 55 forks source link

Term::cursor_left(0) moves cursor left by 1 #375

Open AMythicDev opened 2 weeks ago

AMythicDev commented 2 weeks ago

Term::cursor_left() moves the cursor to the left by 1 column even when the actual argument passed is 0. This is quite likely a bug and should be fixed. Potential candidates that should also be reviewed for the same bug include Term::cursor_right() and Term::cursor_move().

Additional Details: cpp_terminal revsion: 08fb483e Terminal: alacritty 0.13.2 Shell: zsh 5.9 CXX: clang++ (clang 19.1.0 "clang version 19.1.0 (Fedora 19.1.0-1.fc41)") LD: clang++ ld.lld 19.1.0 C++ Version: C++17