diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-12-25 21:22:33 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-12-25 21:22:33 +0100 |
commit | 3194a9b8e4f4b6e6683820656ebf215c38b4bb33 (patch) | |
tree | 4ae73fd61a77fdcf05a672e374ee2e01295dd281 /src | |
parent | 583f4d515142af96b8fb7466f71beb5efdab2407 (diff) | |
download | weechat-3194a9b8e4f4b6e6683820656ebf215c38b4bb33.zip |
core: set option weechat.look.mouse when mouse state is changed with command /mouse
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/curses/gui-curses-mouse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-mouse.c b/src/gui/curses/gui-curses-mouse.c index d37cef5ad..6ca1cff9e 100644 --- a/src/gui/curses/gui-curses-mouse.c +++ b/src/gui/curses/gui-curses-mouse.c @@ -90,6 +90,7 @@ gui_mouse_enable () { gui_mouse_enabled = 1; fprintf (stderr, "\033[?1005h\033[?1000h\033[?1002h"); + config_file_option_set (config_look_mouse, "1", 1); } /* @@ -101,6 +102,7 @@ gui_mouse_disable () { gui_mouse_enabled = 0; fprintf (stderr, "\033[?1002l\033[?1000l\033[?1005l"); + config_file_option_set (config_look_mouse, "0", 1); } /* |