The terminal emulator st by default produces the sequence \x1b[P (archived link since I'm not sure there's a web-based way to display a specific version of that file) (1b5b50) for a press of the delete key. (It does switch to \x1b[3~ when in "numpad application mode" (something I only learned of the existence of moments ago), but only in numpad application mode.)
Digging in a little bit to why st behaves like this, I found this commit where this behavior for the delete key was first introduced in case it's helpful.
Perusing the input.go file, it doesn't appear \x1b[P is currently mapped to anything else, so it doesn't seem likely making an addition could cause any problems.
The terminal emulator st by default produces the sequence
\x1b[P(archived link since I'm not sure there's a web-based way to display a specific version of that file) (1b5b50) for a press of the delete key. (It does switch to\x1b[3~when in "numpad application mode" (something I only learned of the existence of moments ago), but only in numpad application mode.)Digging in a little bit to why st behaves like this, I found this commit where this behavior for the delete key was first introduced in case it's helpful.
Perusing the
input.gofile, it doesn't appear\x1b[Pis currently mapped to anything else, so it doesn't seem likely making an addition could cause any problems.