From 4b88f1b09914c8d54da52af942461c0cd4eecec1 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 9 Dec 2023 22:35:54 +0100 Subject: Add notes on WeeChat focus handling --- Notes.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Notes.txt diff --git a/Notes.txt b/Notes.txt new file mode 100644 index 0000000..5a8780a --- /dev/null +++ b/Notes.txt @@ -0,0 +1,10 @@ +https://www.chunkhang.com/blog/fixing-focus-events-in-weechat +https://www.chiark.greenend.org.uk/doc/weechat-doc/html/weechat_faq.en.html#terminal_focus + +/set weechat.startup.command_after_plugins "/print -stdout \033[?1004h\n" +/set weechat.look.key_bind_safe off +/key bind meta2-I /activity_bar clear +/trigger add reset_focus signal "quit" "" "" "/print -stdout \033[?1004l\n" + +/key bind meta2-I /activity_bar disable +/key bind meta2-O /activity_bar enable -- cgit v1.2.3