2

Using tab completion in gnome-terminal appears to be placing text in odd areas, such as to the left (on top of my prompt) or above, sometimes. Here is an example of what happens when it places it over my prompt.

enter image description here

Is this a fixable thing?

3
  • Are you using the default bash & terminal? Anything unusual with your .bashrc or other config? Looks a little different. Try using a default config & see if it still happens?
    – Xen2050
    Dec 29, 2014 at 2:34
  • Different font and prompt, but otherwise default.
    – user402663
    Dec 29, 2014 at 3:26
  • Show us your $PS1 Dec 29, 2014 at 13:24

1 Answer 1

0

Most likely you forgot to enclose the non-printable characters of your prompt between \[ and \]. This is required for bash to be able to keep track of the column where its cursor is.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .