# Bcc: control
retitle elinks doesn't capture the Ctrl+H key properly in "main" keymap
tags 139984 - woody
tags 139984 + moreinfo
thanks

On 02/03/26 12:43 +0100, Adrian Kubala said ...
> My window manager is ion; I suppose it might be the culprit, but it's
> not configured to capture Control- keystrokes.

I tried a bunch of things here:

Ctrl+G works.

Alt+H is captured either by my window manager or handed over to elinks
as a request for the ELinks -> Help menu.

Ctrl+H while editing a line acts as Backspace.

This is inline with the code.  in src/config/kbdbind.c:

static struct default_kb default_edit_keymap[] = {
...
         { { 'H',         KBD_MOD_CTRL }, ACT_EDIT_BACKSPACE },

static struct default_kb default_main_keymap[] = {
...
        { { 'H',         KBD_MOD_NONE }, ACT_MAIN_GOTO_URL_HOME },

This should take you to ui.sessions.homepage (config or
getenv("WWW_HOME")).  So it certainly looks like someone else is
capturing the keystroke and elinks doesn't get it.  I don't know how we
can figure this out in ion.

Giridhar

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/

Attachment: signature.asc
Description: Digital signature

Reply via email to