Ignore:
Timestamp:
2011-03-22T22:00:21Z (13 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7ea69a6
Parents:
ac897e8
Message:

Reset cat's global state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/cat/cat.c

    rac897e8 rf2d665b4  
    217217        sysarg_t rows, cols;
    218218        int rc;
     219       
     220        // reset global state
     221        // TODO: move to structure?
     222        paging_enabled = false;
     223        chars_remaining = 0;
     224        lines_remaining = 0;
     225        console_cols = 0;
     226        console_rows = 0;
    219227
    220228        argc = cli_count_args(argv);
Note: See TracChangeset for help on using the changeset viewer.