Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whitespace characters aren't empty? #6239

Closed
2 tasks done
bennettp123 opened this issue Jan 11, 2022 · 4 comments · Fixed by #6285
Closed
2 tasks done

Whitespace characters aren't empty? #6239

bennettp123 opened this issue Jan 11, 2022 · 4 comments · Fixed by #6285

Comments

@bennettp123
Copy link

bennettp123 commented Jan 11, 2022

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: macOS 12.2 Beta (21D5025f)
  • Hyper.app version: Hyper 3.1.5 (stable)
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/bennettp123/d6d483d9b8411f32c51b1a1895de73a9
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): no idea. N/A?
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

Apologies, but I'm going to have trouble describing this one.

Whitespace characters don't always print whitespace. Intermittently, the previous characters are printed instead, seems like it prints characters from the scroll back buffer instead of whitespace?

Reproducible with the following file:

no leading whitespace (<-- note that I didn't type "nomleading" -- i typed "no leading")
   leading whitespace (spacebar x4)
				leading whitespace (tab x4)
no leading whitespace

Opening the file in vim, the first space shows a m character:
image

it also happens with cat (num: 9930 is from the scroll back buffer):
image

Not reproduced here, but I often see -rw-r--r-- in vim where it should be whitespace.

@bennettp123
Copy link
Author

This is what my .hyper.js looks like in vim:

image

@bennettp123
Copy link
Author

Also, I'm able to reproduce the issue with webGLRenderer: false,

@bennettp123
Copy link
Author

bennettp123 commented Jan 11, 2022

Not reproducible on 3.2.0-canary.1

Also reproducible on 3.2.0-canary.1

@LabhanshAgrawal
Copy link
Collaborator

not able to reproduce
can you paste the output from hyper -v and from dev console (option+cmd+i)
You can also try the steps from https://github.com/vercel/hyper#contribute to see if it makes any difference if built on your system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants