Hyper: New lines are created for progressive updates rather than replacing the old ones

Created on 7 Apr 2017  路  14Comments  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 10 Pro build 1703 (creators update)
  • Hyper.app version: 1.3.1
  • Link of a Gist with the contents of your .hyper.js: default
  • Relevant information from devtools _(CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere)_: n/a
  • The issue is reproducible in vanilla Hyper.app: is vanilla

Issue

After updating Windows 10 to the last version (creators update) I wanted to try again hyper.app with the improved bash for window. Unfortunately it seems like progressive updates are broken, new lines are constantly created instead of replacing the old ones and even the cursor is far off its position. Since I wasn't using hyper.app from some times I first disabled all the plugins and the created a fresh .hyper.js config file, but nothing changed. I attached a screenshot to better show the problem.

hyperlines

馃憜 Is Upstream

All 14 comments

I'm seeing the same issue after the creators update.

After trying to work around the same issue I've discovered that line breaks "break" at exactly 160 terminal chars width Hyper window regardless of font size or anything else, at least at my own PC.
I can provide screenshots or record a screencast to show apparent difference in behaviour at 159 and 160 characters (making window larger doesn't help, apparently).

I observed the same behavior as @siziyman.
I'm running on Win10 with Creator's Update. The problem doesn't show up on another Win10 PC which does not yet have the Creator's Update.

What is your $TERM variable set to?

Well, it's doing this with yarn and powershell.

Also, this seems to result in the offset console bug as well. I have to suspect that it is an issue in the underlying hterm library.

Interestingly enough, this is only happening with the progress bar. It does not happen with the spinner.

Given that this is also triggering the console offset bug, I suspect that it is the combination of some strange width character and clear line that causes this.

has there been any progress on this issue?

I suspect that this is going to be fixed when we finish replacing the underlying terminal library.

Also happens on PowerShell with Creators Update. It maybe Yarn issue? 馃槄

default

Related issue: yarnpkg/yarn#2530

has anyone an idea when this will be fixed?

Fixed by yarnpkg/yarn#4317. 馃帀

We can wait for Yarn newer version.
Or test by grabbing the artifact from https://ci.appveyor.com/project/kittens/yarn/build/3769/job/3owvdyefkpofp10x/artifacts

default

@gluons Thank you for your feedback!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eoinmurray picture eoinmurray  路  3Comments

ConstantinChirila picture ConstantinChirila  路  3Comments

stan-stripe picture stan-stripe  路  3Comments

leo picture leo  路  3Comments

alejandrofloresm picture alejandrofloresm  路  3Comments