Re: [dev] Some questions about st and a patch

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Mon, 17 Oct 2011 16:06:56 +0100

Hey,

On 17/10/2011, Stephen Paul Weber <singpolyma_AT_singpolyma.net> wrote:
> 4) alt+leftarrow and alt+rightarrow, which I use in irssi to swich chats, do
> not seem to work. Looking at st.c, it seems that kpress handles the
> arrow keys specially, which may be breaking this?

I'm not a st developer, but I've had a look at this. Arrow keys do
need to be handled in a special way, but the arrow keys don't work
with any modifier keys.

Currently st handles an arrow key by printing, eg, "\033[D". With
shift it is "\033[1;2D", with alt "\033[1;3D", and so on. So it needs
to detect bucky bits and react accordingly.

cls
Received on Mon Oct 17 2011 - 17:06:56 CEST

This archive was generated by hypermail 2.3.0 : Mon Oct 17 2011 - 17:12:03 CEST