Public bug reported:

1) Open a bash terminal (ex: gnome-terminal, xfce terminal, etc)
2) Type a command larger than approximately 3/4 of the command prompt that 
doesn't finish with a new line
3) Go up in history
4) Press 'Start of line' key

https://user-images.githubusercontent.com/2413781/137861612-0c1bfcf9-1c36-41a4-b01d-e1c54b9147b5.mp4
https://user-images.githubusercontent.com/2413781/137862023-c4620bbc-fa38-4f06-b85b-f1b544911a19.mp4

It seems to be related to the command prompt env variable (PS1): 
https://unix.stackexchange.com/questions/105958/terminal-prompt-not-wrapping-correctly
However, it happens with the default command prompt of Ubuntu 20.04:
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
 '

** Affects: mate-terminal (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947731

Title:
  Terminal cursor glitch with history when last command doesn't end with
  new line

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mate-terminal/+bug/1947731/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to