From bb6af05a31c17c372f455cb5ed775e0d3d9f4b40 Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Thu, 11 Jan 2018 11:24:21 +0100 Subject: [PATCH] doc: improve documentation for focus events in FAQ (closes #1130) --- doc/en/weechat_faq.en.adoc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/en/weechat_faq.en.adoc b/doc/en/weechat_faq.en.adoc index 007f5a5d2..09cc35a69 100644 --- a/doc/en/weechat_faq.en.adoc +++ b/doc/en/weechat_faq.en.adoc @@ -432,8 +432,12 @@ You must enable the focus events with a special code sent to terminal. *Important*: -* Currently, *only* _xterm_ seems to support this feature. -* It does *not* work under screen/tmux. +* You must use a modern xterm-compatible terminal. +* Additionally, it seems to be important that your value of the TERM variable + equals to _xterm_ or _xterm-256color_. +* If you use tmux, you must additionally enable focus events by adding + `set -g focus-events on` to your _.tmux.conf_ file. +* This does *not* work under screen. To send the code when WeeChat is starting: