But that's just how the terminal works. For me, it returns: * ESC: 27 * F1: 27, then 79, then 80 (THREE chars per one keydown) * →: 27, then 91, then 67
The problem's not with the lib. Go ahead try it in C, you should get the same results.
But that's just how the terminal works. For me, it returns: * ESC: 27 * F1: 27, then 79, then 80 (THREE chars per one keydown) * →: 27, then 91, then 67
The problem's not with the lib. Go ahead try it in C, you should get the same results.