Changes in / [2d4ff14:9d59118]


Ignore:
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • global.c

    rb24029a r054894e  
    415415  ioctl(STDIN_FILENO, TIOCGWINSZ, &size);
    416416  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    }
    418422  } else {
    419     g->lines=x;
     423      g->lines=x;
    420424  }
    421425
    422426  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    }
    424432  } else {
    425433    g->cols=y;
  • perl/lib/BarnOwl/ModuleLoader.pm

    rb4fcc06 re005862  
    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");
    1214    my %modules;
    1315    my @modules;
  • perl/modules/IRC/lib/BarnOwl/Module/IRC/Connection.pm

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

    r5ff830a r9815e2e  
    8989input.
    9090
    91 =head2 start_editwin PROMPT CALLBACK
     91=head2 start_edit_win 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
     127Adds a file descriptor to C<BarnOwl>'s internal C<select()>
     128loop. C<CALLBACK> will be invoked whenever data is available to be
     129read from C<FD>.
     130
     131=head2 remove_dispatch FD
     132
     133Remove a file descriptor previously registered via C<add_dispatch>
    124134
    125135=cut
     
    652662=item $mainLoop
    653663
    654 Called on B<every pass> through the C<BarnOwl> main loop. Any
    655 functions with this hook should be very cheap, as they are very
    656 frequently by the runtime.
     664Called on every pass through the C<BarnOwl> main loop. This is
     665guaranteed to be called at least once/sec and may be called more
     666frequently.
    657667
    658668=item $getBuddyList
Note: See TracChangeset for help on using the changeset viewer.