> That’s why there are shortcuts in st. If the three extra fields for key‐ > pad, cursor and crlf are moved into a bitfield (integer), then adding > such a modifier would be simple and easy – and a function to toggle > the mode. I don’t need this feature, so patches are welcome.
I was thinking something like put in keypad a value, for example, like 2, that is bigger than 0 (so the actual logical keeps identical) and can be tested. If nobody has a problem with this solution I will send a patch tomorrow.