FG
💻 Software

Terminal on Mac - Delete key behavior

Fresh7 days ago
Mar 15, 20269373 views
Confidence Score0%
0%

Problem

I'd like the delete key (well, the Fn+Backspace combination) on my Mac to behave the same way in the Terminal as it does normally. That is, to do forward-delete. Right now it outputs tilde - at least that's what I can see. In Binding Fn-Delete in zsh on Mac OS X I saw some hackery and tried it too:…

Error Output

$ echo "~" | od -c
0000000   ~  \n
0000002

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Terminal on Mac - Delete key behavior

Low Risk

The answer to the question to which you linked shows how to find the control sequence Terminal sends when you press FnBackspace: ControlV FnBackspace . The ControlV is critical to prevent special interpretation of the (likely) initial ESC character.…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment