On Fri, Jul 27, 2018 at 03:24:12PM +0200, Marcel <[email protected]> wrote:
> I am developing a perl extension and have the use case where I would like to
> enable/disable some key bindings. For instance, there might be a binding of
> Control-l which I would like to enable/disable with another binding, e.g.
> Meta-o .

The normal way to do this is by calling the bind_action method, although I am
not sure it's particularly suitable for frequent redefines.

If you temporarily want to take over the keyboard, you can temporarily
->enable your own key_press and/or tt_write handlers, as e.g.
searchable-scrollback does, and this way override normal processing of
these events.

Other than that, I don't think there is a way.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to