Gnome Terminal tab completion placing text in odd areas

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?

user402663

Posted 2014-12-29T01:50:52.240

Reputation: 21

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 – 2014-12-29T02:34:29.207

Different font and prompt, but otherwise default. – user402663 – 2014-12-29T03:26:39.043

Show us your $PS1 – glenn jackman – 2014-12-29T13:24:47.720

Answers

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.

egmont

Posted 2014-12-29T01:50:52.240

Reputation: 1 791