wmiirc-rumai

git clone git://oldgit.suckless.org/wmiirc-rumai/
Log | Files | Refs | README | LICENSE

commit 0634541a46eea73c6040ed8bd956718b8750a2c6
parent 87302084d9e84dc0a2a9ff2fefa6d540c4ba4c50
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date:   Thu, 21 Sep 2006 18:18:33 -0700

[project @ e18db7a99672dc3180a412a8b85a7e004d2ffbfb]

[project @ 122]
up  even loop uses FS.event.open instead of IXP::Client.new

Diffstat:
HISTORY | 9+++++++++
wmiirc-config.rb | 2+-
2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/HISTORY b/HISTORY @@ -1,6 +1,15 @@ This is a history of major changes to {my wmii configuration}[http://people.ucsc.edu/~skurapat/wmii.html]. += 2006-09-21 + +* Fix some forgotten changes from show_menu() returning *nil*. + +* Exception error message (xmessage) now lets you restart *wmiirc*. + +* Updated event loop to generate less 9P traffic. + + = 2006-09-20 * Included code from upcoming Ruby-IXP 1.1.0 release. diff --git a/wmiirc-config.rb b/wmiirc-config.rb @@ -432,7 +432,7 @@ end ## WM event loop begin - IXP::Client.new.open('/event') do |f| + FS.event.open do |f| while event = f.read.chomp type, arg = event.split(' ', 2)