dparrish / libcli

Libcli provides a shared library for including a Cisco-like command-line interface into other software. It's a telnet interface which supports command-line editing, history, authentication and callbacks for a user-definable function tree.
https://dparrish.com/link/libcli
GNU Lesser General Public License v2.1
296 stars 147 forks source link

backspace works only in one line #29

Open ccc987 opened 7 years ago

ccc987 commented 7 years ago

on linux centos or redhat 7, run ./testcli and telnet 127.0.0.1 8000 locally. under Uername: or router> prompt, type very long chars more than 1 line and then hit Backspace, it can't go back to previous line and stuck at the beginning of second line.