Skip to content

Navigation Menu

Sign in
Sign up

added backspace key for macOs + iTerm2 - #34

Open
MChers wants to merge 1 commit into
tsoding:main from
MChers:mac_os_backspace
Open

added backspace key for macOs + iTerm2 #34
MChers wants to merge 1 commit into
tsoding:main from
MChers:mac_os_backspace

Conversation

@MChers

@MChers MChers commented Mar 27, 2023

Copy link
Copy Markdown

On macOs + iTerm2 the ncurses constants::KEY_BACKSPACE was not a valid backspace character.
Adding 127 to the fixed the issue and now the backspace is behaving normally.

credits to: https://stackoverflow.com/questions/27200597/c-ncurses-key-backspace-not-working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /