You'll notice
Terminal 'delete' key recognition for one escape sequence now only applies on macOS
What
When Claude Code's terminal input handling sees the raw escape sequence [P, it now only reports it as the 'delete' key if a platform check confirms macOS. Previously this sequence was mapped to a key name via a fixed lookup table regardless of platform.
Why
This avoids misreading that escape sequence as 'delete' on platforms where it doesn't mean that, since the same raw sequence can mean different keys on different terminals and operating systems.