docs: add macOS Terminal backspace troubleshooting to README#235
Open
stephenlzc wants to merge 1 commit intoHKUDS:mainfrom
Open
docs: add macOS Terminal backspace troubleshooting to README#235stephenlzc wants to merge 1 commit intoHKUDS:mainfrom
stephenlzc wants to merge 1 commit intoHKUDS:mainfrom
Conversation
Add a Troubleshooting section documenting the macOS Terminal.app backspace compatibility issue (HKUDS#234). The DEL byte (0x7f) sent by Terminal.app for the Backspace key was not correctly handled by the React TUI, causing backspace to appear as a space instead of deleting characters. Workaround: use iTerm2, which sends the correct backspace sequence.
Collaborator
|
Thanks for the docs PR. I reviewed it against the current main branch. Since the TUI has already been fixed to handle Terminal.app's raw Instead, I updated README on
CI is green. This should cover the same user-facing problem with less stale guidance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a Troubleshooting section to the README documenting the macOS Terminal.app backspace compatibility issue (#234).
Problem
macOS Terminal.app sends the
DELbyte (0x7f) for the Backspace key, which the React TUI's Ink library maps to forward-delete rather than backspace. This causes backspace to appear as a space character instead of deleting text.Solution
Document the workaround: use iTerm2 (which sends the correct backspace sequence), and reference the existing fix in the
mainbranch.Testing
Related