summaryrefslogtreecommitdiff
path: root/.irssi
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-09-28 23:56:40 +0000
committerSean Whitton <spwhitton@spwhitton.name>2015-09-28 23:56:40 +0000
commitd54c16a2944432a3c28cd924ba50e39bbae1bf88 (patch)
tree4f829b2bc857618b91a155556cb1ea80d80454da /.irssi
parent1327c39ee166d84980504875e6dc2b7afb63dc55 (diff)
downloaddotfiles-d54c16a2944432a3c28cd924ba50e39bbae1bf88.tar.gz
anotherway returns to status window
Diffstat (limited to '.irssi')
-rwxr-xr-x.irssi/scripts/autorun/anotherway.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/.irssi/scripts/autorun/anotherway.pl b/.irssi/scripts/autorun/anotherway.pl
index f7a0ca88..7b06050b 100755
--- a/.irssi/scripts/autorun/anotherway.pl
+++ b/.irssi/scripts/autorun/anotherway.pl
@@ -27,6 +27,10 @@ sub go_away {
Irssi::signal_remove($_ , "reset_timer") foreach (@signals);
$servers[0]->command('AWAY '.$reason);
Irssi::signal_add($_ , "reset_timer") foreach (@signals);
+
+ # return to the status window so that messages received clearly
+ # visible in Act bar -- spw
+ Irssi::command('window goto 1');
}
sub reset_timer {