This is my environment :
X server : VCXsrv Windows
Window manager : XFCE/WSL
bash : 5.0.0(1)-release
Environment variable TERM : xterm
When I type a command longer than the width of xterm, the line scrolls horizontally instead of wrapping the line, like
<lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
Some online articles suggest following command :
bind 'set horizontal-scroll-mode off'
but it didn't fix the issue in my context.
What else can I try to troubleshoot ?
Update 1:
bash-5.0$ printf "%s\n" "$PS1"
\s-\v\$
Update 2:
/bin$ tput up
tput: unknown terminfo capability 'up'