Skip to content

Whitespace characters aren't empty? #6239

@bennettp123

Description

@bennettp123
  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions