Re: [dev] [st] How to make it distinguish Control-p from Control-P?

From: Roberto E. Vargas Caballero <>
Date: Thu, 17 May 2018 20:28:41 +0100 (BST)

I am sorry, but st hasn't super powers, and it cannot do impossible things.
Control mask the upper bits of the key (key & 0x1F) while shift clears the
6th bit, so ctrl+shift+p = (p & ~0x20) & 0x1f. As you can see, it is
impossible to differentiate between ^p and ^P.

Received on Thu May 17 2018 - 21:28:41 CEST

This archive was generated by hypermail 2.3.0 : Thu May 17 2018 - 21:36:19 CEST