-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: ba1f7705fb67474c56f7cfc9595e36a216b3691f: path_to: revision_to:
commit ba1f7705fb67474c56f7cfc9595e36a216b3691f Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com> Date: Fri May 2 20:35:00 2014 +0000 Rename register_user_translation to register_action. diff --git a/src/keyboard.C b/src/keyboard.C
--- a/src/keyboard.C +++ b/src/keyboard.C @@ -91,7 +91,7 @@ keyboard_manager::~keyboard_manager () } void -keyboard_manager::register_user_translation (KeySym keysym, unsigned int state, const wchar_t *ws) +keyboard_manager::register_action (KeySym keysym, unsigned int state, const wchar_t *ws) { char *translation = rxvt_wcstoutf8 (ws); diff --git a/src/keyboard.h b/src/keyboard.h
--- a/src/keyboard.h +++ b/src/keyboard.h @@ -68,7 +68,7 @@ public: keyboard_manager (); ~keyboard_manager (); - void register_user_translation (KeySym keysym, unsigned int state, const wchar_t *ws); + void register_action (KeySym keysym, unsigned int state, const wchar_t *ws); void register_done (); // call this to make newly registered key bindings take effect bool dispatch (rxvt_term *term, KeySym keysym, unsigned int state, const char *kbuf, int len); diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs
--- a/src/rxvtperl.xs +++ b/src/rxvtperl.xs @@ -1846,7 +1846,7 @@ void rxvt_term::register_command (int keysym, unsigned int state, SV *str) CODE: wchar_t *wstr = sv2wcs (str); - THIS->keyboard->register_user_translation (keysym, state, wstr); + THIS->keyboard->register_action (keysym, state, wstr); free (wstr); void diff --git a/src/xdefaults.C b/src/xdefaults.C
--- a/src/xdefaults.C +++ b/src/xdefaults.C @@ -744,7 +744,7 @@ rxvt_term::bind_action (const char *str, const char *arg) wchar_t *ws = rxvt_mbstowcs (arg); if (!HOOK_INVOKE ((this, HOOK_REGISTER_COMMAND, DT_INT, sym, DT_INT, state, DT_WCS_LEN, ws, wcslen (ws), DT_END))) - keyboard->register_user_translation (sym, state, ws); + keyboard->register_action (sym, state, ws); free (ws); return 1;
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 09:54:25 2024