[dev] Re: [st] Unable to map Ctrl+$NUMBER

2017-10-10 Thread Eric Pruitt
On Tue, Oct 10, 2017 at 10:01:32PM -0700, Eric Pruitt wrote: > I dug into this some more, and this code is what's causing the shortcuts > to be ignored: > > if (i == LEN(mappedkeys)) { > if ((k & 0x) < 0xFD00) > return NULL; > } > > For whatever reason, kmap is writt

[dev] Re: [st] Unable to map Ctrl+$NUMBER

2017-10-10 Thread Eric Pruitt
On Mon, Oct 09, 2017 at 10:32:02AM -0700, Eric Pruitt wrote: > When I press Ctrl+1 after making that change, the iso14755 function is > executed as expected. I looked at the code that's responsible for > handling key presses in both arrays, but it's not clear to me exactly > what the problem is. I

Re: [dev] [st] Ctrl-K and Ctrl-L not working - local tmux problem

2017-10-10 Thread Thomas Preissler
Oi! Sorry - I just realized it does work in *native* st without tmux. When I fire up tmux Ctrl-K and Ctrl-L stop working. Please ignore this email. On Tue, Oct 10, 2017 at 12:03:19PM +0100, self wrote: I am wondering how I can make Ctrl-K (kill-line) and Ctrl-L (clear-creas) to work in st. I l

[dev] [st] Ctrl-K and Ctrl-L not working

2017-10-10 Thread Thomas Preissler
Hi, I am wondering how I can make Ctrl-K (kill-line) and Ctrl-L (clear-creas) to work in st. I looked at various ideas - inputrc and zle, as I am running zsh. I ended up with that ominous terminfo/termcap, but I am not sure how I should progress from there. I had a look at the sources and found