Changes in / [2d4ff14:9d59118]
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
rb24029a r054894e 415 415 ioctl(STDIN_FILENO, TIOCGWINSZ, &size); 416 416 if (x==0) { 417 g->lines=size.ws_row; 417 if (size.ws_row) { 418 g->lines=size.ws_row; 419 } else { 420 g->lines=LINES; 421 } 418 422 } else { 419 g->lines=x;423 g->lines=x; 420 424 } 421 425 422 426 if (y==0) { 423 g->cols=size.ws_col; 427 if (size.ws_col) { 428 g->cols=size.ws_col; 429 } else { 430 g->cols=COLS; 431 } 424 432 } else { 425 433 g->cols=y; -
perl/lib/BarnOwl/ModuleLoader.pm
rb4fcc06 re005862 10 10 sub load_all { 11 11 PAR::reload_libs(); 12 PAR->import(BarnOwl::get_data_dir() . "/modules/*.par"); 13 PAR->import(BarnOwl::get_config_dir() . "/modules/*.par"); 12 14 my %modules; 13 15 my @modules; -
perl/modules/IRC/lib/BarnOwl/Module/IRC/Connection.pm
re322b7c r661d2eb 51 51 sub { shift; $self->on_msg(@_) }); 52 52 $self->conn->add_handler(['welcome', 'yourhost', 'created', 53 'luserclient', 'luserop', 'luserchannels', 'luserme',54 'notice','error'],53 'luserclient', 'luserop', 'luserchannels', 'luserme', 54 'error'], 55 55 sub { shift; $self->on_admin_msg(@_) }); 56 56 $self->conn->add_handler(['myinfo', 'map', 'n_local', 'n_global', -
perlwrap.pm
r5ff830a r9815e2e 89 89 input. 90 90 91 =head2 start_edit win PROMPT CALLBACK91 =head2 start_edit_win PROMPT CALLBACK 92 92 93 93 Like C<start_question>, but displays C<PROMPT> on a line of its own … … 122 122 123 123 Returns the number of colors this BarnOwl is capable of displaying 124 125 =head2 add_dispatch FD CALLBACK 126 127 Adds a file descriptor to C<BarnOwl>'s internal C<select()> 128 loop. C<CALLBACK> will be invoked whenever data is available to be 129 read from C<FD>. 130 131 =head2 remove_dispatch FD 132 133 Remove a file descriptor previously registered via C<add_dispatch> 124 134 125 135 =cut … … 652 662 =item $mainLoop 653 663 654 Called on B<every pass> through the C<BarnOwl> main loop. Any655 functions with this hook should be very cheap, as they are very 656 frequently by the runtime.664 Called on every pass through the C<BarnOwl> main loop. This is 665 guaranteed to be called at least once/sec and may be called more 666 frequently. 657 667 658 668 =item $getBuddyList
Note: See TracChangeset
for help on using the changeset viewer.