Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't let control characters mess up the display
Before: ╭─ CommandT [file] ────────────────────────────────────────────╮ │> │ ╰──────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────╮ │> │ │↳ Icon^M │ │↳ │ │ brew.rb │ │ ...etc │ ╰──────────────────────────────────────────────────────────────╯ After: ╭─ CommandT [file] ────────────────────────────────────────────╮ │> │ ╰──────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────╮ │> Icon\r │ │ brew.rb │ │ ...etc │ ╰──────────────────────────────────────────────────────────────╯ Note that this is a display-only thing, to stop undesired wrapping and other visual distortions. You can't actually type "Icr" and expect it to match the file (these is no "r" in the name), although you can open it by accepting the selection. Closes: wincent/command-t#402
- Loading branch information