mathiasbynens / mathiasbynens/dotfiles
NSTextShowsControlCharacters seems to be broken in Sierra
- Dominant language
- Shell
- Stars
- 31.5k
- Forks
- 8.4k
- PR merge metrics
- No merged PRs in 30d
Description
In dotfiles/.macos you might want to comment this one out, because it seems to be messed up in Sierra (at least).
Create a file containing ^A^A^A^A
defaults write NSGlobalDomain NSTextShowsControlCharacters -bool true
Open file in TextEdit, displays ^A^A^A^A^A^A^A^A^A^A
Multiple sequential control characters inside non-control text are similarly messed up, and editing the file corrupts the display.
Now to figure out how to open a bug report with Apple. :)
Contributor guide
No contributing guide indexed for this repository
Research direction
Open dotfiles/.macos and locate the NSTextShowsControlCharacters setting represented by the shown defaults command. Reproduce the behavior in TextEdit with sequential control characters if possible, then comment out that setting; done means the problematic Sierra-specific preference is no longer enabled by the file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, shell
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100