Changes in / [9d59118:2d4ff14]


Ignore:
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r054894e rb24029a  
    415415  ioctl(STDIN_FILENO, TIOCGWINSZ, &size);
    416416  if (x==0) {
    417     if (size.ws_row) {
    418       g->lines=size.ws_row;
    419     } else {
    420       g->lines=LINES;
    421     }
     417    g->lines=size.ws_row;
    422418  } else {
    423       g->lines=x;
     419    g->lines=x;
    424420  }
    425421
    426422  if (y==0) {
    427     if (size.ws_col) {
    428       g->cols=size.ws_col;
    429     } else {
    430       g->cols=COLS;
    431     }
     423    g->cols=size.ws_col;
    432424  } else {
    433425    g->cols=y;
  • perl/lib/BarnOwl/ModuleLoader.pm

    re005862 rb4fcc06  
    1010sub load_all {
    1111    PAR::reload_libs();
    12     PAR->import(BarnOwl::get_data_dir() . "/modules/*.par");
    13     PAR->import(BarnOwl::get_config_dir() . "/modules/*.par");
    1412    my %modules;
    1513    my @modules;
  • perl/modules/IRC/lib/BarnOwl/Module/IRC/Connection.pm

    r661d2eb re322b7c  
    5151            sub { shift; $self->on_msg(@_) });
    5252    $self->conn->add_handler(['welcome', 'yourhost', 'created',
    53                               'luserclient', 'luserop', 'luserchannels', 'luserme',
    54                               'error'],
     53            'luserclient', 'luserop', 'luserchannels', 'luserme',
     54            'notice', 'error'],
    5555            sub { shift; $self->on_admin_msg(@_) });
    5656    $self->conn->add_handler(['myinfo', 'map', 'n_local', 'n_global',
  • perlwrap.pm

    r9815e2e r5ff830a  
    8989input.
    9090
    91 =head2 start_edit_win PROMPT CALLBACK
     91=head2 start_editwin PROMPT CALLBACK
    9292
    9393Like C<start_question>, but displays C<PROMPT> on a line of its own
     
    122122
    123123Returns 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>
    134124
    135125=cut
     
    662652=item $mainLoop
    663653
    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.
     654Called on B<every pass> through the C<BarnOwl> main loop. Any
     655functions with this hook should be very cheap, as they are very
     656frequently by the runtime.
    667657
    668658=item $getBuddyList
Note: See TracChangeset for help on using the changeset viewer.