summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-08-17 09:53:49 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-08-17 09:53:49 +0200
commit43894db0bcd3fb89ea99413fc34af826938ef3c3 (patch)
treebd304d8b463aeb2c1014db37e8756aa8af49ac0d
parent399a5af6f396687e12f07e9aba683d37c1e66ddb (diff)
downloadweechat-43894db0bcd3fb89ea99413fc34af826938ef3c3.zip
core: add mouse bindings ctrl+wheel up/down to scroll horizontally buffers with free content
-rw-r--r--ChangeLog4
-rw-r--r--doc/de/weechat_user.de.txt54
-rw-r--r--doc/en/weechat_user.en.txt19
-rw-r--r--doc/fr/weechat_user.fr.txt51
-rw-r--r--doc/it/weechat_user.it.txt54
-rw-r--r--doc/ja/weechat_user.ja.txt54
-rw-r--r--src/gui/curses/gui-curses-key.c2
7 files changed, 135 insertions, 103 deletions
diff --git a/ChangeLog b/ChangeLog
index 3da3fe484..16e563942 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,14 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
-v0.3.9-dev, 2012-08-16
+v0.3.9-dev, 2012-08-17
Version 0.3.9 (under dev!)
--------------------------
+* core: add mouse bindings ctrl+wheel up/down to scroll horizontally buffers
+ with free content
* core: return error string to callback of hook_connect if getaddrinfo fails in
child process
* core: add option weechat.startup.sys_rlimit to set system resource limits for
diff --git a/doc/de/weechat_user.de.txt b/doc/de/weechat_user.de.txt
index 4f94586ea..c8dac57df 100644
--- a/doc/de/weechat_user.de.txt
+++ b/doc/de/weechat_user.de.txt
@@ -777,34 +777,40 @@ Tasten für "mouse"-Kontext
Diese Tasten werden im Kontext "mouse" verwendet, wenn eine Mausfunktion genutzt worden ist.
-// TRANSLATION MISSING
+// TRANSLATION MISSING (4)
[width="100%",cols="^.^3,^.^3,^.^3,.^10,.^8l",options="header"]
|========================================
-| Maustaste | Mausgeste | Bereich | Beschreibung | Befehl
-| ◾◽◽ | - | Chat | wechselt zum Fenster | /window ${_window_number}
-| ◾◽◽ | links | Chat | zum vorherigen Buffer springen | /window ${_window_number};/buffer +1
-| ◾◽◽ | rechts | Chat | zum nächsten Buffer springen | /window ${_window_number};/buffer +1
-| ◾◽◽ | links(lang) | Chat | Switch to first buffer | /window ${_window_number};/buffer 1
-| ◾◽◽ | rechts(lang) | Chat | wechselt zum letzten Buffer | /window ${_window_number};/input jump_last_buffer
-| Mausrad ⇑ | - | Chat | einige Zeilen im Verlaufsspeicher des Buffer nach oben blättern | /window scroll_up -window ${_window_number}
-| Mausrad ⇓ | - | Chat | einige Zeilen im Verlaufsspeicher des Buffer nach unten blättern | /window scroll_down -window ${_window_number}
-| Mausrad ⇑ | - | chat (script buffer) | Move 5 lines up in script buffer | /script up 5
-| Mausrad ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer | /script down 5
-| ◾◽◽ | hoch | Nickliste | Nickliste um eine Seite nach oben blättern | /bar scroll nicklist ${_window_number} -100%
-| ◾◽◽ | runter | Nickliste | Nickliste um eine Seite nach unten blättern | /bar scroll nicklist ${_window_number} +100%
-| ◾◽◽ | hoch(lang) | Nickliste | springt zum Anfang der Nickliste | /bar scroll nicklist ${_window_number} b
-| ◾◽◽ | runter(lang) | Nickliste | springt zum Ende der Nickliste | /bar scroll nicklist ${_window_number} e
-| ◾◽◽ | - | Nickliste | öffnet privaten Chat mit Nick | /window ${_window_number};/query ${nick}
-| ◽◽◾ | - | Nickliste | führt einen whois für Nick aus | /window ${_window_number};/whois ${nick}
-| ◾◽◽ | links | Nickliste | kickt Nick | /window ${_window_number};/kick ${nick}
-| ◾◽◽ | links(lang) | Nickliste | kickt und verbannt Nick | /window ${_window_number};/kickban ${nick}
-| ◽◽◾ | links | Nickliste | verbannt Nick | /window ${_window_number};/ban ${nick}
-| ◽◽◾ | - | Input | fängt ein Mausereignis und fügt dieses in die Befehlszeile ein | /input grab_mouse_area
-| Mausrad ⇑ | - | jede Bar | blättert Bar um 10% nach oben | /bar scroll ${_bar_name} ${_window_number} -20%
-| Mausrad ⇓ | - | jede Bar | blättert Bar um 10% nach unten | /bar scroll ${_bar_name} ${_window_number} +20%
-| ◽◾◽ | - | überall | aktiviert den Cursor-Modus an dieser Position | /cursor go ${_x},${_y}
+| Maustaste ^(1)^ | Mausgeste | Bereich | Beschreibung | Befehl
+| ◾◽◽ | - | Chat | wechselt zum Fenster | /window ${_window_number}
+| ◾◽◽ | links | Chat | zum vorherigen Buffer springen | /window ${_window_number};/buffer +1
+| ◾◽◽ | rechts | Chat | zum nächsten Buffer springen | /window ${_window_number};/buffer +1
+| ◾◽◽ | links(lang) | Chat | Switch to first buffer | /window ${_window_number};/buffer 1
+| ◾◽◽ | rechts(lang) | Chat | wechselt zum letzten Buffer | /window ${_window_number};/input jump_last_buffer
+| ⇑ | - | Chat | einige Zeilen im Verlaufsspeicher des Buffer nach oben blättern | /window scroll_up -window ${_window_number}
+| ⇓ | - | Chat | einige Zeilen im Verlaufsspeicher des Buffer nach unten blättern | /window scroll_down -window ${_window_number}
+| ⇑ | - | chat (script buffer) | Move 5 lines up in script buffer | /script up 5
+| ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer | /script down 5
+| @k(C-)⇑ | - | chat | Scroll horizontally to the left | /window scroll_horiz -window ${_window_number} -10%
+| @k(C-)⇓ | - | chat | Scroll horizontally to the right | /window scroll_horiz -window ${_window_number} +10%
+| ◾◽◽ | hoch | Nickliste | Nickliste um eine Seite nach oben blättern | /bar scroll nicklist ${_window_number} -100%
+| ◾◽◽ | runter | Nickliste | Nickliste um eine Seite nach unten blättern | /bar scroll nicklist ${_window_number} +100%
+| ◾◽◽ | hoch(lang) | Nickliste | springt zum Anfang der Nickliste | /bar scroll nicklist ${_window_number} b
+| ◾◽◽ | runter(lang) | Nickliste | springt zum Ende der Nickliste | /bar scroll nicklist ${_window_number} e
+| ◾◽◽ | - | Nickliste | öffnet privaten Chat mit Nick | /window ${_window_number};/query ${nick}
+| ◽◽◾ | - | Nickliste | führt einen whois für Nick aus | /window ${_window_number};/whois ${nick}
+| ◾◽◽ | links | Nickliste | kickt Nick | /window ${_window_number};/kick ${nick}
+| ◾◽◽ | links(lang) | Nickliste | kickt und verbannt Nick | /window ${_window_number};/kickban ${nick}
+| ◽◽◾ | links | Nickliste | verbannt Nick | /window ${_window_number};/ban ${nick}
+| ◽◽◾ | - | Input | fängt ein Mausereignis und fügt dieses in die Befehlszeile ein | /input grab_mouse_area
+| ⇑ | - | jede Bar | blättert Bar um 10% nach oben | /bar scroll ${_bar_name} ${_window_number} -20%
+| ⇓ | - | jede Bar | blättert Bar um 10% nach unten | /bar scroll ${_bar_name} ${_window_number} +20%
+| ◽◾◽ | - | überall | aktiviert den Cursor-Modus an dieser Position | /cursor go ${_x},${_y}
|========================================
+// TRANSLATION MISSING
+[NOTE]
+^(1)^ "⇑" and "⇓" are wheel up and down.
+
[[mouse]]
Mausunterstützung
~~~~~~~~~~~~~~~~~
diff --git a/doc/en/weechat_user.en.txt b/doc/en/weechat_user.en.txt
index d95995c74..19605a000 100644
--- a/doc/en/weechat_user.en.txt
+++ b/doc/en/weechat_user.en.txt
@@ -770,16 +770,18 @@ These keys are used in context "mouse", namely when a mouse event occurs.
[width="100%",cols="^.^3,^.^3,^.^3,.^10,.^8l",options="header"]
|========================================
-| Button | Gesture | Area | Description | Command
+| Button ^(1)^ | Gesture | Area | Description | Command
| ◾◽◽ | - | chat | Switch to window | /window ${_window_number}
| ◾◽◽ | left | chat | Switch to previous buffer | /window ${_window_number};/buffer +1
| ◾◽◽ | right | chat | Switch to next buffer | /window ${_window_number};/buffer +1
| ◾◽◽ | left (long) | chat | Switch to first buffer | /window ${_window_number};/buffer 1
| ◾◽◽ | right (long) | chat | Switch to last buffer | /window ${_window_number};/input jump_last_buffer
-| wheel ⇑ | - | chat | Scroll up a few lines in buffer history | /window scroll_up -window ${_window_number}
-| wheel ⇓ | - | chat | Scroll down a few lines in buffer history | /window scroll_down -window ${_window_number}
-| wheel ⇑ | - | chat (script buffer) | Move 5 lines up in script buffer | /script up 5
-| wheel ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer | /script down 5
+| ⇑ | - | chat | Scroll up a few lines in buffer history | /window scroll_up -window ${_window_number}
+| ⇓ | - | chat | Scroll down a few lines in buffer history | /window scroll_down -window ${_window_number}
+| ⇑ | - | chat (script buffer) | Move 5 lines up in script buffer | /script up 5
+| ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer | /script down 5
+| @k(C-)⇑ | - | chat | Scroll horizontally to the left | /window scroll_horiz -window ${_window_number} -10%
+| @k(C-)⇓ | - | chat | Scroll horizontally to the right | /window scroll_horiz -window ${_window_number} +10%
| ◾◽◽ | up | nicklist | Scroll up one page in nicklist | /bar scroll nicklist ${_window_number} -100%
| ◾◽◽ | down | nicklist | Scroll down one page in nicklist | /bar scroll nicklist ${_window_number} +100%
| ◾◽◽ | up (long) | nicklist | Go to the beginning of nicklist | /bar scroll nicklist ${_window_number} b
@@ -790,11 +792,14 @@ These keys are used in context "mouse", namely when a mouse event occurs.
| ◾◽◽ | left (long) | nicklist | Kick and ban nick | /window ${_window_number};/kickban ${nick}
| ◽◽◾ | left | nicklist | Ban nick | /window ${_window_number};/ban ${nick}
| ◽◽◾ | - | input | Grab a mouse event and insert its code in command line | /input grab_mouse_area
-| wheel ⇑ | - | any bar | Scroll bar by -10% | /bar scroll ${_bar_name} ${_window_number} -20%
-| wheel ⇓ | - | any bar | Scroll bar by +10% | /bar scroll ${_bar_name} ${_window_number} +20%
+| ⇑ | - | any bar | Scroll bar by -10% | /bar scroll ${_bar_name} ${_window_number} -20%
+| ⇓ | - | any bar | Scroll bar by +10% | /bar scroll ${_bar_name} ${_window_number} +20%
| ◽◾◽ | - | anywhere | Start cursor mode at this point | /cursor go ${_x},${_y}
|========================================
+[NOTE]
+^(1)^ "⇑" and "⇓" are wheel up and down.
+
[[mouse]]
Mouse support
~~~~~~~~~~~~~
diff --git a/doc/fr/weechat_user.fr.txt b/doc/fr/weechat_user.fr.txt
index e26bf00b3..3574ec572 100644
--- a/doc/fr/weechat_user.fr.txt
+++ b/doc/fr/weechat_user.fr.txt
@@ -785,31 +785,36 @@ Ces touches sont utilisées dans le contexte "mouse", c'est-à-dire lorsqu'un
[width="100%",cols="^.^3,^.^3,^.^3,.^10,.^8l",options="header"]
|========================================
-| Bouton | Geste | Zone | Description | Commande
-| ◾◽◽ | - | chat | Aller à la fenêtre | /window ${_window_number}
-| ◾◽◽ | left | chat | Aller au tampon précédent | /window ${_window_number};/buffer +1
-| ◾◽◽ | right | chat | Aller au tampon suivant | /window ${_window_number};/buffer +1
-| ◾◽◽ | left (long) | chat | Aller au premier tampon | /window ${_window_number};/buffer 1
-| ◾◽◽ | right (long) | chat | Aller au dernier tampon | /window ${_window_number};/input jump_last_buffer
-| roulette ⇑ | - | chat | Monter de quelques lignes dans l'historique du tampon | /window scroll_up -window ${_window_number}
-| roulette ⇓ | - | chat | Descendre de quelques lignes dans l'historique du tampon | /window scroll_down -window ${_window_number}
-| roulette ⇑ | - | chat (tampon script) | Monter de 5 lignes dans le tampon script | /script up 5
-| roulette ⇓ | - | chat (tampon script) | Descendre de 5 lignes dans le tampon script | /script down 5
-| ◾◽◽ | up | liste des pseudos | Monter d'une page dans la liste des pseudos | /bar scroll nicklist ${_window_number} -100%
-| ◾◽◽ | down | liste des pseudos | Descendre d'une page dans la liste des pseudos | /bar scroll nicklist ${_window_number} +100%
-| ◾◽◽ | up (long) | liste des pseudos | Aller au début de la liste des pseudos | /bar scroll nicklist ${_window_number} b
-| ◾◽◽ | down (long) | liste des pseudos | Aller à la fin de la liste des pseudos | /bar scroll nicklist ${_window_number} e
-| ◾◽◽ | - | liste des pseudos | Ouvrir une discussion avec le pseudo | /window ${_window_number};/query ${nick}
-| ◽◽◾ | - | liste des pseudos | Effectuer un whois sur le pseudo | /window ${_window_number};/whois ${nick}
-| ◾◽◽ | left | liste des pseudos | Retirer par la force le pseudo | /window ${_window_number};/kick ${nick}
-| ◾◽◽ | left (long) | liste des pseudos | Retirer par la force et bannir le pseudo | /window ${_window_number};/kickban ${nick}
-| ◽◽◾ | left | liste des pseudos | Bannir le pseudo | /window ${_window_number};/ban ${nick}
-| ◽◽◾ | - | ligne de commande | Capturer un évènement de la souris et insérer son code sur la ligne de commande | /input grab_mouse_area
-| roulette ⇑ | - | toute barre | Faire défiler la barre de -10% | /bar scroll ${_bar_name} ${_window_number} -20%
-| roulette ⇓ | - | toute barre | Faire défiler la barre de +10% | /bar scroll ${_bar_name} ${_window_number} +20%
-| ◽◾◽ | - | n'importe où | Démarrer le mode curseur ("cursor") à ce point | /cursor go ${_x},${_y}
+| Bouton ^(1)^ | Geste | Zone | Description | Commande
+| ◾◽◽ | - | chat | Aller à la fenêtre | /window ${_window_number}
+| ◾◽◽ | left | chat | Aller au tampon précédent | /window ${_window_number};/buffer +1
+| ◾◽◽ | right | chat | Aller au tampon suivant | /window ${_window_number};/buffer +1
+| ◾◽◽ | left (long) | chat | Aller au premier tampon | /window ${_window_number};/buffer 1
+| ◾◽◽ | right (long) | chat | Aller au dernier tampon | /window ${_window_number};/input jump_last_buffer
+| ⇑ | - | chat | Monter de quelques lignes dans l'historique du tampon | /window scroll_up -window ${_window_number}
+| ⇓ | - | chat | Descendre de quelques lignes dans l'historique du tampon | /window scroll_down -window ${_window_number}
+| ⇑ | - | chat (tampon script) | Monter de 5 lignes dans le tampon script | /script up 5
+| ⇓ | - | chat (tampon script) | Descendre de 5 lignes dans le tampon script | /script down 5
+| @k(C-)⇑ | - | chat | Faire défiler horizontallement vers la gauche | /window scroll_horiz -window ${_window_number} -10%
+| @k(C-)⇓ | - | chat | Faire défiler horizontallement vers la droite | /window scroll_horiz -window ${_window_number} +10%
+| ◾◽◽ | up | liste des pseudos | Monter d'une page dans la liste des pseudos | /bar scroll nicklist ${_window_number} -100%
+| ◾◽◽ | down | liste des pseudos | Descendre d'une page dans la liste des pseudos | /bar scroll nicklist ${_window_number} +100%
+| ◾◽◽ | up (long) | liste des pseudos | Aller au début de la liste des pseudos | /bar scroll nicklist ${_window_number} b
+| ◾◽◽ | down (long) | liste des pseudos | Aller à la fin de la liste des pseudos | /bar scroll nicklist ${_window_number} e
+| ◾◽◽ | - | liste des pseudos | Ouvrir une discussion avec le pseudo | /window ${_window_number};/query ${nick}
+| ◽◽◾ | - | liste des pseudos | Effectuer un whois sur le pseudo | /window ${_window_number};/whois ${nick}
+| ◾◽◽ | left | liste des pseudos | Retirer par la force le pseudo | /window ${_window_number};/kick ${nick}
+| ◾◽◽ | left (long) | liste des pseudos | Retirer par la force et bannir le pseudo | /window ${_window_number};/kickban ${nick}
+| ◽◽◾ | left | liste des pseudos | Bannir le pseudo | /window ${_window_number};/ban ${nick}
+| ◽◽◾ | - | ligne de commande | Capturer un évènement de la souris et insérer son code sur la ligne de commande | /input grab_mouse_area
+| ⇑ | - | toute barre | Faire défiler la barre de -10% | /bar scroll ${_bar_name} ${_window_number} -20%
+| ⇓ | - | toute barre | Faire défiler la barre de +10% | /bar scroll ${_bar_name} ${_window_number} +20%
+| ◽◾◽ | - | n'importe où | Démarrer le mode curseur ("cursor") à ce point | /cursor go ${_x},${_y}
|========================================
+[NOTE]
+^(1)^ "⇑" et "⇓" sont la roulette vers le haut et le bas.
+
[[mouse]]
Support souris
~~~~~~~~~~~~~~
diff --git a/doc/it/weechat_user.it.txt b/doc/it/weechat_user.it.txt
index c8782f720..7c51872ad 100644
--- a/doc/it/weechat_user.it.txt
+++ b/doc/it/weechat_user.it.txt
@@ -786,34 +786,40 @@ Tasti per il contesto "mouse"
Questi tasti sono usati nel contesto "mouse", ovvero quando si verifica un
evento del mouse.
-// TRANSLATION MISSING
+// TRANSLATION MISSING (4)
[width="100%",cols="^.^3,^.^3,^.^3,.^10,.^8l",options="header"]
|========================================
-| Tasto | Azione | Zona | Descrizione | Comando
-| ◾◽◽ | - | chat | Passa alla finestra | /window ${_window_number}
-| ◾◽◽ | sinistra | chat | Passa al buffer precedente | /window ${_window_number};/buffer +1
-| ◾◽◽ | destra | chat | Passa al buffer successivo | /window ${_window_number};/buffer +1
-| ◾◽◽ | sinistra (lungo) | chat | Switch to first buffer | /window ${_window_number};/buffer 1
-| ◾◽◽ | destra (lungo) | chat | Passa all'ultimo buffer | /window ${_window_number};/input jump_last_buffer
-| rotella ⇑ | - | chat | Scorre di qualche riga in alto nella cronologia del buffer | /window scroll_up -window ${_window_number}
-| rotella ⇓ | - | chat | Scorre di qualche riga in basso nella cronologia del buffer | /window scroll_down -window ${_window_number}
-| rotella ⇑ | - | chat (script buffer) | Move 5 lines up in script buffer | /script up 5
-| rotella ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer | /script down 5
-| ◾◽◽ | su | lista nick | Scorre di una pagina in alto nella lista nick | /bar scroll nicklist ${_window_number} -100%
-| ◾◽◽ | giù | lista nick | Scorre di una pagina in basso nella lista nick | /bar scroll nicklist ${_window_number} +100%
-| ◾◽◽ | up (lungo) | lista nick | Sposta all'inizio della lista nick | /bar scroll nicklist ${_window_number} b
-| ◾◽◽ | giù (lungo) | lista nick | Sposta alla fine della lista nick | /bar scroll nicklist ${_window_number} e
-| ◾◽◽ | - | lista nick | Apre una query con un nick | /window ${_window_number};/query ${nick}
-| ◽◽◾ | - | lista nick | Effettua un whois su un nick | /window ${_window_number};/whois ${nick}
-| ◾◽◽ | sinistra | lista nick | Kick di un nick | /window ${_window_number};/kick ${nick}
-| ◾◽◽ | sinistra (lungo) | lista nick | Kick e ban di un nick | /window ${_window_number};/kickban ${nick}
-| ◽◽◾ | sinistra | lista nick | Ban di un nick | /window ${_window_number};/ban ${nick}
-| ◽◽◾ | - | input | Cattura un evento del mouse e inserisce il codice nella riga di comando | /input grab_mouse_area
-| rotella ⇑ | - | ogni barra | Scorre la barra del -10% | /bar scroll ${_bar_name} ${_window_number} -20%
-| rotella ⇓ | - | ogni barra | Scorre la barra del +10% | /bar scroll ${_bar_name} ${_window_number} +20%
-| ◽◾◽ | - | ovunque | Avvia la modalità cursore in questo punto | /cursor go ${_x},${_y}
+| Tasto ^(1)^ | Azione | Zona | Descrizione | Comando
+| ◾◽◽ | - | chat | Passa alla finestra | /window ${_window_number}
+| ◾◽◽ | sinistra | chat | Passa al buffer precedente | /window ${_window_number};/buffer +1
+| ◾◽◽ | destra | chat | Passa al buffer successivo | /window ${_window_number};/buffer +1
+| ◾◽◽ | sinistra (lungo) | chat | Switch to first buffer | /window ${_window_number};/buffer 1
+| ◾◽◽ | destra (lungo) | chat | Passa all'ultimo buffer | /window ${_window_number};/input jump_last_buffer
+| ⇑ | - | chat | Scorre di qualche riga in alto nella cronologia del buffer | /window scroll_up -window ${_window_number}
+| ⇓ | - | chat | Scorre di qualche riga in basso nella cronologia del buffer | /window scroll_down -window ${_window_number}
+| ⇑ | - | chat (script buffer) | Move 5 lines up in script buffer | /script up 5
+| ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer | /script down 5
+| @k(C-)⇑ | - | chat | Scroll horizontally to the left | /window scroll_horiz -window ${_window_number} -10%
+| @k(C-)⇓ | - | chat | Scroll horizontally to the right | /window scroll_horiz -window ${_window_number} +10%
+| ◾◽◽ | su | lista nick | Scorre di una pagina in alto nella lista nick | /bar scroll nicklist ${_window_number} -100%
+| ◾◽◽ | giù | lista nick | Scorre di una pagina in basso nella lista nick | /bar scroll nicklist ${_window_number} +100%
+| ◾◽◽ | up (lungo) | lista nick | Sposta all'inizio della lista nick | /bar scroll nicklist ${_window_number} b
+| ◾◽◽ | giù (lungo) | lista nick | Sposta alla fine della lista nick | /bar scroll nicklist ${_window_number} e
+| ◾◽◽ | - | lista nick | Apre una query con un nick | /window ${_window_number};/query ${nick}
+| ◽◽◾ | - | lista nick | Effettua un whois su un nick | /window ${_window_number};/whois ${nick}
+| ◾◽◽ | sinistra | lista nick | Kick di un nick | /window ${_window_number};/kick ${nick}
+| ◾◽◽ | sinistra (lungo) | lista nick | Kick e ban di un nick | /window ${_window_number};/kickban ${nick}
+| ◽◽◾ | sinistra | lista nick | Ban di un nick | /window ${_window_number};/ban ${nick}
+| ◽◽◾ | - | input | Cattura un evento del mouse e inserisce il codice nella riga di comando | /input grab_mouse_area
+| ⇑ | - | ogni barra | Scorre la barra del -10% | /bar scroll ${_bar_name} ${_window_number} -20%
+| ⇓ | - | ogni barra | Scorre la barra del +10% | /bar scroll ${_bar_name} ${_window_number} +20%
+| ◽◾◽ | - | ovunque | Avvia la modalità cursore in questo punto | /cursor go ${_x},${_y}
|========================================
+// TRANSLATION MISSING
+[NOTE]
+^(1)^ "⇑" and "⇓" are wheel up and down.
+
[[mouse]]
Supporto del mouse
~~~~~~~~~~~~~~~~~~
diff --git a/doc/ja/weechat_user.ja.txt b/doc/ja/weechat_user.ja.txt
index 368dada67..36c39eb7f 100644
--- a/doc/ja/weechat_user.ja.txt
+++ b/doc/ja/weechat_user.ja.txt
@@ -743,34 +743,40 @@ irc サーバ "freenode" に含まれる全てのバッファに対して設定
以下のキーは "マウス" モード (マウスイベントが発生したとき) でのみ有効です。
-// TRANSLATION MISSING
+// TRANSLATION MISSING (4)
[width="100%",cols="^.^3,^.^3,^.^3,.^10,.^8l",options="header"]
|========================================
-| ボタン | ジェスチャー | エリア | 説明 | コマンド
-| ◾◽◽ | - | チャット | ウィンドウに移動 | /window ${_window_number}
-| ◾◽◽ | 左 | チャット | 前のバッファに移動 | /window ${_window_number};/buffer +1
-| ◾◽◽ | 右 | チャット | 次のバッファに移動 | /window ${_window_number};/buffer +1
-| ◾◽◽ | 左 (長く) | チャット | 最初のバッファに移動 | /window ${_window_number};/buffer 1
-| ◾◽◽ | 右 (長く) | チャット | 最後のバッファに移動 | /window ${_window_number};/input jump_last_buffer
-| ホイール ⇑ | - | チャット | バッファ履歴を上方向にスクロール | /window scroll_up -window ${_window_number}
-| ホイール ⇓ | - | チャット | バッファ履歴を下方向にスクロール | /window scroll_down -window ${_window_number}
-| ホイール ⇑ | - | chat (script buffer) | Move 5 lines up in script buffer | /script up 5
-| ホイール ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer | /script down 5
-| ◾◽◽ | 上 | ニックネームリスト | ニックネームリストを 1 ページ分上方向にスクロール | /bar scroll nicklist ${_window_number} -100%
-| ◾◽◽ | 下 | ニックネームリスト | ニックネームリストを 1 ページ分下方向にスクロール | /bar scroll nicklist ${_window_number} +100%
-| ◾◽◽ | 上 (長く) | ニックネームリスト | ニックネームリストの最初に移動 | /bar scroll nicklist ${_window_number} b
-| ◾◽◽ | 下 (長く) | ニックネームリスト | ニックネームリストの最後に移動 | /bar scroll nicklist ${_window_number} e
-| ◾◽◽ | - | ニックネームリスト | ニックネームに対するクエリを開く | /window ${_window_number};/query ${nick}
-| ◽◽◾ | - | ニックネームリスト | ニックネームに対する whois を行う | /window ${_window_number};/whois ${nick}
-| ◾◽◽ | 左 | ニックネームリスト | ニックネームをキックする | /window ${_window_number};/kick ${nick}
-| ◾◽◽ | 左 (長く) | ニックネームリスト | ニックネームをキックとバンする | /window ${_window_number};/kickban ${nick}
-| ◽◽◾ | 左 | ニックネームリスト | ニックネームをバンする | /window ${_window_number};/ban ${nick}
-| ◽◽◾ | - | 入力 | マウスイベントを奪ってコマンドラインにコードを入力 | /input grab_mouse_area
-| ホイール ⇑ | - | 任意のバー | バーを -10% スクロール | /bar scroll ${_bar_name} ${_window_number} -20%
-| ホイール ⇓ | - | 任意のバー | バーを +10% スクロール | /bar scroll ${_bar_name} ${_window_number} +20%
-| ◽◾◽ | - | 任意の場所 | この場所でカーソルモードを開始 | /cursor go ${_x},${_y}
+| ボタン^(1)^ | ジェスチャー| エリア| 説明 | コマンド
+| ◾◽◽ | - | チャット | ウィンドウに移動 | /window ${_window_number}
+| ◾◽◽ | 左 | チャット | 前のバッファに移動 | /window ${_window_number};/buffer +1
+| ◾◽◽ | 右 | チャット | 次のバッファに移動 | /window ${_window_number};/buffer +1
+| ◾◽◽ | 左 (長く) | チャット | 最初のバッファに移動 | /window ${_window_number};/buffer 1
+| ◾◽◽ | 右 (長く) | チャット | 最後のバッファに移動 | /window ${_window_number};/input jump_last_buffer
+| ⇑ | - | チャット | バッファ履歴を上方向にスクロール | /window scroll_up -window ${_window_number}
+| ⇓ | - | チャット | バッファ履歴を下方向にスクロール | /window scroll_down -window ${_window_number}
+| ⇑ | - | chat (script buffer) | Move 5 lines up in script buffer | /script up 5
+| ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer | /script down 5
+| @k(C-)⇑ | - | chat | Scroll horizontally to the left | /window scroll_horiz -window ${_window_number} -10%
+| @k(C-)⇓ | - | chat | Scroll horizontally to the right | /window scroll_horiz -window ${_window_number} +10%
+| ◾◽◽ | 上 | ニックネームリスト | ニックネームリストを 1 ページ分上方向にスクロール | /bar scroll nicklist ${_window_number} -100%
+| ◾◽◽ | 下 | ニックネームリスト | ニックネームリストを 1 ページ分下方向にスクロール | /bar scroll nicklist ${_window_number} +100%
+| ◾◽◽ | 上 (長く) | ニックネームリスト | ニックネームリストの最初に移動 | /bar scroll nicklist ${_window_number} b
+| ◾◽◽ | 下 (長く) | ニックネームリスト | ニックネームリストの最後に移動 | /bar scroll nicklist ${_window_number} e
+| ◾◽◽ | - | ニックネームリスト | ニックネームに対するクエリを開く | /window ${_window_number};/query ${nick}
+| ◽◽◾ | - | ニックネームリスト | ニックネームに対する whois を行う | /window ${_window_number};/whois ${nick}
+| ◾◽◽ | 左 | ニックネームリスト | ニックネームをキックする | /window ${_window_number};/kick ${nick}
+| ◾◽◽ | 左 (長く) | ニックネームリスト | ニックネームをキックとバンする | /window ${_window_number};/kickban ${nick}
+| ◽◽◾ | 左 | ニックネームリスト | ニックネームをバンする | /window ${_window_number};/ban ${nick}
+| ◽◽◾ | - | 入力 | マウスイベントを奪ってコマンドラインにコードを入力 | /input grab_mouse_area
+| ⇑ | - | 任意のバー | バーを -10% スクロール | /bar scroll ${_bar_name} ${_window_number} -20%
+| ⇓ | - | 任意のバー | バーを +10% スクロール | /bar scroll ${_bar_name} ${_window_number} +20%
+| ◽◾◽ | - | 任意の場所 | この場所でカーソルモードを開始 | /cursor go ${_x},${_y}
|========================================
+// TRANSLATION MISSING
+[NOTE]
+^(1)^ "⇑" and "⇓" are wheel up and down.
+
[[mouse]]
=== マウスサポート ===
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c
index 31b91cb27..cf32ff746 100644
--- a/src/gui/curses/gui-curses-key.c
+++ b/src/gui/curses/gui-curses-key.c
@@ -268,6 +268,8 @@ gui_key_default_bindings (int context)
BIND("@chat:wheeldown", "/window scroll_down -window ${_window_number}");
BIND("@chat(script.scripts):wheelup", "/script up 5");
BIND("@chat(script.scripts):wheeldown", "/script down 5");
+ BIND("@chat:ctrl-wheelup", "/window scroll_horiz -window ${_window_number} -10%");
+ BIND("@chat:ctrl-wheeldown", "/window scroll_horiz -window ${_window_number} +10%");
/* mouse events on nicklist */
BIND("@bar(nicklist):button1-gesture-up", "/bar scroll nicklist ${_window_number} -100%");
BIND("@bar(nicklist):button1-gesture-down", "/bar scroll nicklist ${_window_number} +100%");