aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2023-12-09 22:35:54 +0100
committerTeddy Wing2023-12-09 22:35:54 +0100
commit4b88f1b09914c8d54da52af942461c0cd4eecec1 (patch)
tree00ec6107cab9364908e769c52ff8de75ec5859c2
parent16792128df553aa9e7a7a12da11a4b4d3672d59e (diff)
downloadweechat-activity-bar-4b88f1b09914c8d54da52af942461c0cd4eecec1.tar.bz2
Add notes on WeeChat focus handling
-rw-r--r--Notes.txt10
1 files changed, 10 insertions, 0 deletions
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