The source code of weechat.org is now available on GitHub: https://github.com/weechat/weechat.org.
It is written in Python and uses Django, and gettext for translations.
Designers, Python/Django developers and especially translators are welcome!
Friday, March 28 2014
By Sébastien Helleu on Friday, March 28 2014, 10:42 - site
The source code of weechat.org is now available on GitHub: https://github.com/weechat/weechat.org.
It is written in Python and uses Django, and gettext for translations.
Designers, Python/Django developers and especially translators are welcome!
Saturday, March 15 2014
By Sébastien Helleu on Saturday, March 15 2014, 19:55 - plugins
A new plugin called "exec" has been added, with command /exec.
The command /exec can execute external commands and display output in WeeChat.
It is similar to /shell (script shell.py), with major improvements:
Other features coming soon: pipe output to WeeChat command or hsignal (to use in a trigger).
Monday, March 3 2014
By Sébastien Helleu on Monday, March 3 2014, 23:14 - core
WeeChat git repositories (weechat, scripts, qweechat) have been moved to GitHub, in WeeChat organization: http://github.com/weechat.
The git repositories on savannah are not updated any more (and will be removed in near future).
The GitHub issue tracker can now be used to report bugs and ask for feature requests.
If the bug/task already exists in Savannah, you can complete/discuss it on Savannah, no need to open a new one on GitHub.
Pull requests are welcome in all repositories, including scripts (except for adding a script, the form on weechat.org must be used).
A page with examples of triggers has been added in weechat wiki.
Sunday, February 16 2014
By Sébastien Helleu on Sunday, February 16 2014, 16:30 - core
A "bare" display mode has been added. This special mode displays only the current buffer, and no bars around (no title, nicklist, status, input, ...).
It is designed for easy selection of text and click on long URLs (which are not broken at the end of lines, because ncurses is disabled in this mode).
A new key has been added: Alt+l (use /key missing to add the key), or this command: /key bind meta-l /window bare.
You can also use a delay in seconds with command /window bare, for example 5 seconds: /window bare 5.
Two options have been added:
Bare display looks like this (click for full size):
Monday, February 10 2014
By Sébastien Helleu on Monday, February 10 2014, 10:15 - plugins
A new plugin called "trigger" has been added.
This plugin can hook many things:
When the callback is called, trigger can:
/help eval)Example of things you can do with trigger:
Help is available with /help trigger.
Some examples of triggers can be found on GitHub WeeChat wiki.
Sunday, February 9 2014
By Sébastien Helleu on Sunday, February 9 2014, 10:59 - core
Version 0.4.3 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
New options:
Options changed:
New keys:
Thursday, January 9 2014
By Sébastien Helleu on Thursday, January 9 2014, 13:08 - plugins
CRC32 and IPv6 are now supported in xfer plugin!
For CRC32, a new option has been added:
For IPv6, everything is automatic; it works for DCC file and chat.
Note for C plugin developers: the function "weechat_network_connect_to" has been modified to be used with IPv6. See the plugin API reference for more info.
A big thanks to Andrew Potter for the patches!
Enjoy!
Wednesday, December 11 2013
By Sébastien Helleu on Wednesday, December 11 2013, 19:49 - core
Auto renumber of buffers can now be disabled.
Two options have been added:
A bar item has beed added as well:
When auto renumber is disabled, gaps between buffer numbers are allowed and the first buffer can have a number greater than 1.
Following options for command /buffer are affected when auto renumber is off:
move:
swap:
(+/-)N:
merge:
Sunday, October 6 2013
By Sébastien Helleu on Sunday, October 6 2013, 09:54 - core
Version 0.4.2 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
New options:
Options changed:
New keys:
Saturday, August 17 2013
By Sébastien Helleu on Saturday, August 17 2013, 16:40 - core
When searching text in buffer (with Ctrl+R), the matching text in lines is now emphasized, even if there are color codes in the line.
The search has been improved: it is now possible to search with a regular expression, and select where to search: in messages (default), prefixes or prefixes+messages.
The default key for search is still Ctrl+R and keys have been added/changed in the search context:
The new search prompt in input bar looks like this: [Search (~ str,msg)]
Short description of content:
~: case insensitive search (default)==: case sensitive searchstr: search string (default)regex: search regular expressionmsg: search in messages (default)pre: search in prefixespre|msg: search in prefixes and messagesHappy search!
Sunday, August 4 2013
By Sébastien Helleu on Sunday, August 4 2013, 13:14 - core
Secured data has been added to WeeChat: you can now encrypt your passwords or private data in a new configuration file called "sec.conf".
This configuration file is read before any other file, and the values stored inside can be used in various WeeChat or plugins/scripts options.
To add secured data, you just have to set a passphrase (not mandatory, but recommended: this will encrypt data in sec.conf instead of plain text), and then add data, for example :
/secure passphrase this is my passphrase /secure set freenode mypassword
And then you can use that in a server password, for example :
/set irc.server.freenode.sasl_password "${sec.data.freenode}"
For more info, see /help secure.
Options for encryption
You can use different cipher/hash algorithms, by setting following options:
Note: the cipher block mode is CFB.
The encryption
It is done in 3 steps:
The result is put as hexadecimal string in file sec.conf.
The decryption
It is done in 3 steps:
Friday, August 2 2013
By Sébastien Helleu on Friday, August 2 2013, 08:59 - core
WeeChat binary and man page have been renamed from "weechat-curses" to "weechat".
You can read important info about that in release notes.
Wednesday, June 26 2013
By Sébastien Helleu on Wednesday, June 26 2013, 18:03 - core
Happy birthday WeeChat, 10 years old!
I would like to thank all contributors for the help with translations, patches and ideas of features.
All contributions and donations are much appreciated!
Monday, May 20 2013
By Sébastien Helleu on Monday, May 20 2013, 12:39 - core
Version 0.4.1 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
New options:
Wednesday, May 1 2013
By Sébastien Helleu on Wednesday, May 1 2013, 11:07 - core
The prefix and suffix for nicks are now dynamic and not specific to irc plugin.
IRC options have been moved to core:
The prefix/suffix and colors are now applied on messages already displayed (because they are not stored any more in prefix of lines).
Two options have been added in logger plugin, to use a prefix/suffix for nicks (optional, empty by default):
You can find more information in release notes.
Sunday, March 17 2013
By Sébastien Helleu on Sunday, March 17 2013, 08:13 - core
Support of multiple layouts has been added.
The command /layout now supports a name for actions save/apply/reset.
New options have been added:
The output of /layout has been improved, especially the tree of windows:
Saved layouts:
mobile:
1. core.weechat
1. irc.server.local
2. irc.local.#test
3. irc.local.#test2
desktop (current layout):
1. core.weechat
1. irc.server.local
2. irc.local.#test
3. irc.local.#test2
\== 40% (splith)
|-- irc.local.#test
|== 50% (splitv)
|-- irc.server.local
|-- irc.local.#test2Sunday, February 17 2013
By Sébastien Helleu on Sunday, February 17 2013, 13:29 - irc
A new option has been added for the IRC smart filter: irc.look.smart_filter_join_unmask, with default value 30 (in minutes).
IRC plugin will automatically unmask a filtered join of a nick, if he spoke within N minutes after the join (N being the value of new option irc.look.smart_filter_join_unmask). Moreover, nick changes are tracked, and will be unmasked with the join.
Events triggering the unmask of join are: a message (can be CTCP), a notice or an update of topic.
Wednesday, February 13 2013
By Sébastien Helleu on Wednesday, February 13 2013, 22:13 - core
A Raspbian repository has been added for Raspberry Pi (thanks to Nils G. for building the packages every night).
The existing Debian repositories are being moved from flashtux.org to weechat.org, like the new Raspbian one. Repositories on weechat.org are already available, therefore it is recommended to use them now.
IMPORTANT: the WeeChat packages on debian.flashtux.org are still built every night, but they will be definitely removed on 2013-03-01.
A new section has been added on download page with a summary of all repositories: https://weechat.org/download/debian/.
Sunday, February 10 2013
By Sébastien Helleu on Sunday, February 10 2013, 20:22 - plugins
Websocket has been added in relay plugin, for IRC and WeeChat protocols.
It is an experimental and partial implementation of RFC 6455: fragmentation and control frames are not yet supported.
The relay plugin automatically detects WebSocket handshake and if everything is OK (origin allowed and required headers received), an answer to handshake is sent and then socket is ready to send/receive WebSocket frames.
Text and binary data are supported, so IRC (text/text) and WeeChat (text/binary) protocols are supported.
Screenshot (click for full size):
Tuesday, February 5 2013
By Sébastien Helleu on Tuesday, February 5 2013, 19:05 - plugins
A test script called testproto.py has been added in QWeeChat to test the relay protocol with WeeChat. This script runs in terminal and does not require Qt.
Script is located in path src/qweechat/weechat/testproto.py of QWeeChat repository.
Screenshot (click for full size):
Sunday, January 20 2013
By Sébastien Helleu on Sunday, January 20 2013, 11:36 - core
Version 0.4.0 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
New options:
Monday, December 24 2012
By Sébastien Helleu on Monday, December 24 2012, 17:51 - plugins
Backlog has been added for irc protocol in relay plugin.
The relay plugin now supports server capability "server-time", to include the messages time as tag (not in the message itself).
5 new options have been added:
Enjoy, and merry Christmas!
Wednesday, December 19 2012
By Sébastien Helleu on Wednesday, December 19 2012, 19:18 - core
The git version (output of "git describe") has been added to WeeChat build. This version is displayed in /version (or /v), and is returned in IRC CTCP ("version" and "finger").
Note: the git version is set only when building a development version (not a stable release).
This is useful if you help people and want to know the exact version.
Screenshot:

Tuesday, November 27 2012
By Sébastien Helleu on Tuesday, November 27 2012, 22:51 - irc
Tags in IRC messages are now supported (in development version, planned for version 0.4.0), following this specification: http://ircv3.atheme.org/specification/message-tags-3.2.
The tag "time" is now read and is used to set the time for the message displayed.
The "znc" IRC bouncer is using this tag with the capability "znc.in/server-time-iso" (name should change in the next release). For example if you are using a server called "znc" in WeeChat, you can do:
/set irc.server.znc.capabilities "znc.in/server-time-iso"
Note: with znc 1.0, the server capability was "znc.in/server-time". With znc git > 1.0, the capability is "znc.in/server-time-iso".
Some info about capability "server-time": https://github.com/atheme/ircv3-specifications/blob/master/extensions/server-time-3.2.
Sunday, November 18 2012
By Sébastien Helleu on Sunday, November 18 2012, 14:09 - core
Version 0.3.9.2 is available, it fixes a security problem: untrusted command for function hook_process could lead to execution of commands, because of shell expansions.
Upgrade is highly recommended for all users.
Friday, November 9 2012
By Sébastien Helleu on Friday, November 9 2012, 19:55 - core
Version 0.3.9.1 is available, it fixes a security problem (buffer overflow when decoding IRC colors in strings).
Upgrade is recommended for all users.
Saturday, September 29 2012
By Sébastien Helleu on Saturday, September 29 2012, 10:30 - core
Version 0.3.9 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
/bufferNew options:
Options changed:
Options removed:
New keys:
Note: to add missing keys, you can use command /key missing
Tuesday, August 14 2012
By Sébastien Helleu on Tuesday, August 14 2012, 18:37 - plugins
A new scripts manager has been added, the plugin is called "script" and provides the /script command.
This plugin will replace two scripts: weeget.py (the current scripts manager) and script.pl (providing a /script command to load/unload/reload scripts for any language).
The new /script command is similar to command /weeget with some minor differences (see /help script for more info).
The plugin provides a buffer with list of scripts in repository, which makes installation or removal of scripts very fast: just press alt+i on this buffer, and the script is installed! Not satisfied with the script? Key alt+r and the script is gone!
The buffer allows you to search string in scripts (description, tags, ...) and to sort scripts with many keys. Columns displayed can be fully customized (order, columns displayed), as well as colors.
For list of options, just do: /set script.*
List of scripts (click for full size):
Detail of a script (click for full size):

Enjoy!
Friday, July 27 2012
By Sébastien Helleu on Friday, July 27 2012, 18:11 - plugins
SSL support has been added in Relay plugin, for irc and weechat protocols.
A new option has been added to set the certificate and private key to use:
The file can be created with following commands:
$ mkdir -p ~/.weechat/ssl $ cd ~/.weechat/ssl $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
In WeeChat :
/relay sslcertkey
And add relays with SSL, for example:
/relay add ssl.irc.freenode 8001 /relay add ssl.weechat 9001
And now WeeChat will serve clients on these ports using SSL, enjoy!
Sunday, June 3 2012
By Sébastien Helleu on Sunday, June 3 2012, 09:42 - core
Version 0.3.8 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
New options:
Options changed:
New keys:
Note: to add missing keys, you can use command /key missing
Sunday, March 25 2012
By Sébastien Helleu on Sunday, March 25 2012, 18:24 - core
I just made the 4000th commit for WeeChat, which is also the 600th commit for the past 12 months!
Commits by range: month: 56 year: 600 total: 4000
New page with statistics about Git repositories (core and scripts): https://weechat.org/dev/stats/
Friday, March 16 2012
By Sébastien Helleu on Friday, March 16 2012, 18:33 - scripts
A new script samegame.py is now available! More info about this game is available at http://en.wikipedia.org/wiki/SameGame.
If you are using weeget, just do: /weeget install samegame.py
Mouse is required, so you must have WeeChat >= 0.3.6.
For help: /help samegame.
Screenshot (click for full size):
Enjoy!
Saturday, March 10 2012
By Sébastien Helleu on Saturday, March 10 2012, 09:54 - core
The support for terminal bracketed paste mode has been added. In this mode, pasted text is bracketed with control sequences so that WeeChat can differentiate pasted text from typed-in text (ESC[200~, followed by the pasted text, followed by ESC[201~).
New options:
Changes on option weechat.look.paste_max_lines: now -1 is used to disable option (and new default value is 1 instead of 3). According to value, you have following behaviour:
When pasting one line with newline in bracketed paste mode, the newline at the end of paste is automatically removed (regardless the value of option weechat.look.paste_max_lines).
According to my tests the "bracketed paste mode" works fine with:
According to my tests it currently does not work with:
Please comment this post if you have info about other terminals (supported or not).
Sunday, February 26 2012
By Sébastien Helleu on Sunday, February 26 2012, 08:53 - core
Version 0.3.7 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
New options:
New default alias:
/umode --> /mode $nickNew keys:
/input jump_last_buffer_displayed)Note: to add missing keys, you can use command /key missing
Wednesday, January 18 2012
By Sébastien Helleu on Wednesday, January 18 2012, 21:54 - core
URL transfer has been added in API for plugins and scripts (using libcurl).
A new function has been added: "hook_process_hashtable". Behaviour is the same as "hook_process", but with an extra "options" (a hashtable). To download URL content (html page or file), the syntax is (example is python):
weechat.hook_process_hashtable('url:http://weechat.org/download/',
{ 'file_out': '/tmp/url.txt' },
10000, 'my_process_cb', '')
This code will download URL in file "/tmp/url.txt" and call function "my_process_cb" when done, with return code:
It is possible to download URL without any option, then the output is on standard output of process (received as "out" in callback, possibly in many chunks, depending on page size):
weechat.hook_process('url:http://weechat.org/download/', 10000, 'my_process_cb', '')Tuesday, January 3 2012
By Sébastien Helleu on Tuesday, January 3 2012, 21:38 - plugins
WeeChat can now compile with Python 3.x (successfully tested with Python 3.1 and 3.2).
This is still experimental and recommended Python for WeeChat remains version 2.7.
Some scripts (including weeget.py) have been updated for Python 3.x, they have tag "py3k-ok" on the scripts page: https://weechat.org/scripts/stable/tag/py3k-ok/
Python versions supported by WeeChat:
Note that "python" plugin in WeeChat can support only one version, so it can be a 2.x or 3.x, not both at same time.
Updated on 2019-07-01: Python 3 is now compiled by default and therefore the recommended version, see the post: Python 3 by default.
Sunday, December 25 2011
By Sébastien Helleu on Sunday, December 25 2011, 13:07 - core
Christmas gift: "QWeeChat", the first remote interface for WeeChat. It is written in Python, using Qt toolkit.
This is an alpha version of this interface, only some features are implemented, but it's usable as-is.
The source code is available on download page, and requires latest development version of WeeChat.
New versions will follow, as well as interfaces for other systems like mobile devices (first should be Android).
A screenshot of QWeeChat in action (click for full size):
Merry Christmas and happy new year 2012 with WeeChat and QWeeChat!
Tuesday, November 1 2011
By Sébastien Helleu on Tuesday, November 1 2011, 20:39 - core
/buffer 1/buffer core.weechat (if core buffer is #1)/buffer close 2-99999 (joke! - this will destroy all buffers and keep only buffer(s) with number 1)/buffer move 1 (joke! - current buffer will become #1)There are other ways with scripts, but it's cheating!
* : press key many times until you reach buffer #1.
Monday, October 31 2011
By Sébastien Helleu on Monday, October 31 2011, 18:24 - scripts
Don't panic with long URLs and don't give your private URLs any more to shortening services!
A new script urlserver.py has been added. This script shortens URLs displayed and serve them using own HTTP server, which can be used to display a list of all URLs as well.
Many options are available to customize shortening of URLs, display in WeeChat and HTML page (see /help urlserver and /set plugins.var.python.urlserver.*).
The URLs are saved into ~/.weechat/urlserver_list.txt when script is unloaded, so that URLs are persistent when you restart WeeChat.
A screenshot of HTML page with list of URLs (click for full size):
Friday, October 28 2011
By Sébastien Helleu on Friday, October 28 2011, 10:55 - scripts
The short name of buffers can be changed with /buffer set short_name <new_name> command. This might be useful for long channel names displayed in the buffers bar (buflist plugin with WeeChat ≥ 1.8 or script buffers.pl with an older version).
For example on channel #weechat:
/buffer set short_name #wee
New value is used immediately, but is not saved in config file. To make it persistent, you have to use script buffer_autoset.py:
/autosetbuffer add irc.freenode.#weechat short_name #wee
Note1: it's not recommended to set short name of query buffers, because WeeChat will change name of buffer when nick changes.
Note2: you should use command /buffer set with precautions, it is not recommended to change other buffer properties if you're not sure about what you do. This could lead to weird behaviour or a crash.
Thursday, October 27 2011
By Sébastien Helleu on Thursday, October 27 2011, 07:52 - plugins
A new plugin called "guile" has been added to WeeChat. You can now load and execute Scheme scripts in WeeChat!
WeeChat now supports Python, Perl, Ruby, Lua, Tcl and Guile!
To load/unload scheme scripts, command is /guile with same syntax as other script languages:
/guile load /path/to/example.scm /guile reload example /guile unload example
An example of script:
;; example.scm (weechat:register "example" "FlashCode" "0.1" "GPL3" "Scheme script" "" "") (weechat:print "" "Hey, I'm a scheme script for WeeChat!")
Saturday, October 22 2011
By Sébastien Helleu on Saturday, October 22 2011, 11:11 - core
Version 0.3.6 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
New options:
New keys:
/mouse toggle)New keys have been added for context "cursor" and "mouse", please see documentation.
Note: to add missing keys, you can use command /key missing
Sunday, October 2 2011
By Sébastien Helleu on Sunday, October 2 2011, 11:51 - scripts
A new script minesweeper.py is now available, the famous Minesweeper game!
If you are using weeget, just do: /weeget install minesweeper.py
256 colors mode is highly recommended, and mouse support (with WeeChat >= 0.3.6). If you have 16 colors or less, you can do: /minesweeper 16col
For help: /help minesweeper.
Screenshot (click for full size):
Enjoy!
Friday, September 23 2011
By Sébastien Helleu on Friday, September 23 2011, 18:30 - core
New "inactive" colors have been added, to use a different text color for inactive windows or inactive lines (lines from merged buffer which is not selected).
Some options have been added to control display of inactive color, and of course inactive color themselves.
The first two options control wheter inactive colors are used for inactive windows or inactive lines in merged buffers:
/set weechat.look.color_inactive_window (default: off)/set weechat.look.color_inactive_buffer (default: off)Some options are used to specify if time/prefix_buffer/prefix/message will use inactive colors or not:
/set weechat.look.color_inactive_time (default: off)/set weechat.look.color_inactive_prefix_buffer (default: on)/set weechat.look.color_inactive_prefix (default: on)/set weechat.look.color_inactive_message (default: on)And finally, the three new colors used for inactive windows and inactive lines in merged buffers:
/set weechat.color.chat_inactive_window (default: darkgray, suggested: 245)/set weechat.color.chat_inactive_buffer (default: darkgray, suggested: 245)/set weechat.color.chat_prefix_buffer_inactive_buffer (default: darkgray, suggested: 58)Sunday, August 28 2011
By Sébastien Helleu on Sunday, August 28 2011, 16:38 - core
Some tips to beautify your WeeChat, using unicode chars and some colors.
A full line for separator between prefix (usually nick) and messages:
/set weechat.look.prefix_suffix "│"
Full line for read marker:
/set weechat.look.read_marker_string "─"
Arrows for join/quit (be careful, impact on log files):
/set weechat.look.prefix_join "▬▬▶" /set weechat.look.prefix_quit "◀▬▬"
String for bar item "buffer_filter" (WeeChat >= 0.3.6):
/set weechat.look.item_buffer_filter "•"
"More" indicators in bars (WeeChat >= 0.3.6):
/set weechat.look.bar_more_down "▼" /set weechat.look.bar_more_left "◀" /set weechat.look.bar_more_right "▶" /set weechat.look.bar_more_up "▲"
Time with gray shading, and no colon separator (WeeChat >= 0.3.5):
/set weechat.look.buffer_time_format "${252}%H${245}%M${240}%S"
Note: updated in WeeChat 0.4.2, the syntax is now:
/set weechat.look.buffer_time_format "${color:252}%H${color:245}%M${color:240}%S"
Another "blue" for background of title and status bars:
/set weechat.bar.title.color_bg 60 /set weechat.bar.status.color_bg 60
Some dark colors for delimiters, host,...:
/set weechat.color.chat_delimiters 29 /set weechat.color.chat_host 24 /set weechat.color.chat_prefix_suffix 24 /set weechat.color.nicklist_away 244 /set weechat.color.separator 60 /set irc.color.reason_quit 244 /set irc.color.topic_new 36 /set irc.color.topic_old 244
More nick colors: add for example "31,35,38,40,49,63,70,80,92,99,112,126,130,138,142,148,160,162,167,169,174,176,178,184,186,210,212,215,247" to nick colors:
/set weechat.color.chat_nick_colors "cyan,magenta,green,brown,lightblue,default,lightcyan,lightmagenta,lightgreen,blue,31,35,38,40,49,63,70,80,92,99,112,126,130,138,142,148,160,162,167,169,174,176,178,184,186,210,212,215,247"
Saturday, August 20 2011
By Sébastien Helleu on Saturday, August 20 2011, 19:15 - scripts
A new script floodit.py is now available! You can now play to Flood'it inside WeeChat, with following features:
If you are using weeget, just do: /weeget install floodit.py
For help: /help floodit.
Note: mouse is supported with latest devel version of WeeChat (0.3.6-dev).
Screenshot (click for full size):
Enjoy!
Saturday, August 6 2011
By Sébastien Helleu on Saturday, August 6 2011, 11:14 - core
The layout has improved, here is the list of new features and a bug fixed:
/layout apply/upgrade (not the layout saved, but the layout you had immediately before doing /upgrade)/layout apply was required after starting WeeChatEnjoy!
Tuesday, July 26 2011
By Sébastien Helleu on Tuesday, July 26 2011, 17:49 - core
Mouse support has been added to WeeChat, and a "cursor" mode: a mode when you can move cursor everywhere and do actions with keys on focused area.
New commands added:
/mouse /cursor
Before using mouse, add missing keys:
/key missing
Mouse events (clicks on buttons, gestures) are caught as special "keys", in context "mouse". For a list of default events, you can look at documentation (default keys) or output of this command in WeeChat:
/key list mouse
Mouse is not enabled by default. To enable it (at startup and now), do:
/set weechat.look.mouse on /mouse enable
When mouse is enabled, you can use shift+selection or shift+buttons to select/paste text (like when mouse is disabled). Note that on some terminals like iTerm, you may have to use alt instead of shift.
New key alt+m will toggle mouse on/off.
Finally, thanks to Nei for his scripts, the mouse support in WeeChat is partially based on them.
Mouse support will be improved in near future, for example interactions with words/messages in chat area (select text, click on URLs, ..).
Stay tuned!
Wednesday, June 15 2011
By Sébastien Helleu on Wednesday, June 15 2011, 20:00 - core
A local variable "highlight_regex" has been added in buffers.
It is recommended to use script buffer_autoset.py to set it, so that it's saved and set at any time when buffer is created.
However, it's still possible to set it manually (for testing) with command: /buffer set highlight_regex XXX.
For example, to highlight all messages on server freenode, channel #test:
/autosetbuffer add irc.freenode.#test highlight_regex .*
Monday, May 16 2011
By Sébastien Helleu on Monday, May 16 2011, 19:30 - scripts
A new script cmd_help.py is now available. It displays contextual help on command line like:
/serv/server add you'll see arguments for adding an IRC server/set, for example: /set weechat/set, for example: /set weechat.look.command_charsNote: this script requires version 0.3.5 of WeeChat.
Screenshot (click for full size):
« previous entries - page 3 of 5 - next entries »