How can we improve the Desktop app?

on MacOS the terminal cursor always appears a few spaces ahead of where the actual cursor is. It's weird, and hard to control.

on MacOS the terminal cursor always appears a few spaces ahead of where the actual cursor is. It's weird, and hard to control.

(High Sierra)

3 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Elliot Mackenzie shared this idea  ·   ·  Admin →

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Shilei Tian commented  · 

        Update: The same issue occurred on Windows too, as long as the shell is zsh. I've tried bash and it's all okay, but I didn't try another shell.

      • Elliot Mackenzie commented  · 

        Here's the way to reproduce.

        Set PS1 to S1='\n\[\e[0;32m\]\[\e[0m\]Logged in as \[\e[0;34m\]\u\[\e[0m\] on \[\e[0;34m\]\H\[\e[0m\]\[\e[0;32m\]\n\[\e[0;34m\]\w\[\e[0m\]\n\[\e[0;32m\]❭❭\[\e[0m\] development\[\e[0;32m\]❭❭\[\e[0m\] '

        It seems the use of the >> character in a prompt throws out the cursor placement calculation.

      Feedback and Knowledge Base