-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Whitespace characters aren't empty? #6239
Copy link
Copy link
Closed
Description
- 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:

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

Not reproduced here, but I often see -rw-r--r-- in vim where it should be whitespace.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels