GithubHelp home page GithubHelp logo

Comments (8)

trevordmiller avatar trevordmiller commented on April 28, 2024 4

I am still experiencing this on the latest build:
weird-prompt

When the terminal size is small enough that text doesn't fit on a single line, it has odd wrapping behavior. This also effects command history so if you cycle through your command history the "start" of the line is shifted to the right.

I'm not sure if it is related, but I do I have a custom PS1 with encoded colors:
https://github.com/trevordmiller/dotfiles/blob/be16b5385791daa17701b1023352393c00a039cd/files/.bash_profile#L26
This works in iTerm and Mac terminal though

from hyper.

dka09 avatar dka09 commented on April 28, 2024 3

Sorry I didn't explain the issue too well. Hope this explains it better than my words.

line wrap

from hyper.

atdrago avatar atdrago commented on April 28, 2024 2

This is still reproducible today, and its cause is having any colored text.

In Hyperterm,

  1. export PS1="\e[0;32m\$\e[m "
  2. Type until the end of the line and observe it will not wrap
  3. export PS1="\$ "
  4. Type until the end of the line and observe text wraps correctly

from hyper.

rauchg avatar rauchg commented on April 28, 2024

Can you elaborate a bit more please?

from hyper.

timothyis avatar timothyis commented on April 28, 2024

I believe this was fixed with the introduction of the LANG env variable as noted in #283.

from hyper.

liwsakilive avatar liwsakilive commented on April 28, 2024

@trevordmiller
Your URL not working

from hyper.

trevordmiller avatar trevordmiller commented on April 28, 2024

@liwsakilive Updated URL: https://github.com/trevordmiller/dotfiles/blob/be16b5385791daa17701b1023352393c00a039cd/files/.bash_profile#L26

I can no longer reproduce on latest Hyper; this must have been fixed with one of the releases in the past 8 months.

from hyper.

TheSETJ avatar TheSETJ commented on April 28, 2024

@atdrago's solution does not work for me. I use Hyper 1.3.3 with zsh on Windows and my shell is shell: 'C:\Windows\System32\bash.exe'.

from hyper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.