Changeset 6700c605 for commands.c


Ignore:
Timestamp:
Dec 24, 2009, 6:18:51 PM (15 years ago)
Author:
Alex Dehnert <adehnert@mit.edu>
Branches:
master, release-1.10, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
980fa31
Parents:
c471e85
git-author:
Alex Dehnert <adehnert@mit.edu> (12/20/09 01:50:12)
git-committer:
Alex Dehnert <adehnert@mit.edu> (12/24/09 18:18:51)
Message:
Allow left/right scrolling by arbitrary amount

Move recv:{left,right}shift to Perl and make
them optionally accept a number of columns to
scroll by (default: 10).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r8c97fa1 r6700c605  
    320320  OWLCMD_INT("recv:setshift", owl_command_set_shift, OWL_CTX_INTERACTIVE,
    321321              "scrolls receive window to specified position", "", ""),
    322 
    323   OWLCMD_VOID("recv:shiftleft", owl_command_shift_left, OWL_CTX_INTERACTIVE,
    324               "scrolls receive window to the left", "", ""),
    325 
    326   OWLCMD_VOID("recv:shiftright", owl_command_shift_right, OWL_CTX_INTERACTIVE,
    327               "scrolls receive window to the left", "", ""),
    328322
    329323  OWLCMD_VOID("recv:pagedown", owl_function_mainwin_pagedown,
     
    13611355  owl_mainwin_redisplay(owl_global_get_mainwin(&g));
    13621356  owl_global_set_needrefresh(&g);
    1363 }
    1364 
    1365 void owl_command_shift_left(void)
    1366 {
    1367   owl_function_shift_left();
    1368 }
    1369 
    1370 void owl_command_shift_right(void)
    1371 {
    1372   owl_function_shift_right();
    13731357}
    13741358
Note: See TracChangeset for help on using the changeset viewer.