Search code examples
macoscommand-lineterminalmacos-high-sierra

MacOS terminal - wrong cursor position


I have a problem with terminal because cursor is on the left side of window, and when i'm typing something, text is overlapsing "static" text with my username, but when i delete at least one letter, "static" text will delete (and looks like: $(cursor position)), but other cases is:

$(cursor position)-myMacName:~ myUserName

I expect:

$-myMacName:~ myUserName (cursor position)

Solution

  • It was a problem with user name, IT dude created account with question mark, home directory had a extra space after name, and it was a problem, after delete and create a new profile, everything it's ok.