mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 23:52:22 +02:00
Perl's print and printf calls now write the text to irssi's window. You
can give the level like a file handle, eg. "print CRAP 'text';". You can also give the window/server/target with $fh = $window->create_handle([level]) and $server->create_handle(target, [level]). Patch by juerd@juerd.nl git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2644 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
40bdfc4d70
commit
0d26146cf6
2 changed files with 112 additions and 3 deletions
|
|
@ -12,6 +12,10 @@ $VERSION = "0.9";
|
|||
require Exporter;
|
||||
require DynaLoader;
|
||||
|
||||
sub Irssi::UI::Window::create_handle {
|
||||
goto &Irssi::create_window_handle;
|
||||
}
|
||||
|
||||
@ISA = qw(Exporter DynaLoader);
|
||||
@EXPORT = qw();
|
||||
@EXPORT_OK = qw();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue