mafredri / zsh-async

Because your terminal should be able to perform tasks asynchronously without external tools!
MIT License
766 stars 34 forks source link

Use a regular space #55

Closed dentarg closed 3 years ago

dentarg commented 3 years ago

Sublime Text 4 showed the space as <0ax0>

irb(main):016:0> " ".bytes
=> [194, 160]
irb(main):017:0> " ".bytes
=> [32]

That's a "NO-BREAK SPACE" in UTF-8: https://en.wikipedia.org/wiki/Non-breaking_space#Encodings

It is easy to accidentally type the no-break space in macOS (Option+Space)

mafredri commented 3 years ago

Good catch, thanks!