Changeset a4301f1 in mainline


Ignore:
Timestamp:
2025-11-09T16:28:13Z (3 days ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
a7f9409, b8498c3
Parents:
9fd74d5
Message:

Fix C formatting

Location:
uspace/lib/termui/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/termui/src/history.c

    r9fd74d5 ra4301f1  
    300300
    301301        if (viewport_inactive) {
    302             /* Ensure consistent state so asserts don't trigger inside _evict_oldest_line(). */
    303             history->viewport_top = lines->tail;
     302                /* Ensure consistent state so asserts don't trigger inside _evict_oldest_line(). */
     303                history->viewport_top = lines->tail;
    304304        }
    305305
  • uspace/lib/termui/src/history.h

    r9fd74d5 ra4301f1  
    6666};
    6767
    68 /* History consists of two circular buffers.
     68/*
     69 * History consists of two circular buffers.
    6970 * The cell buffer is a linear array of character cells.
    7071 * The line buffer contains offsets into the cell buffer, and segments it into logical lines.
    7172 * Both of these buffers have a maximum size, so history is limited both by maximum number
    72  * of characters, and maximum number of lines.  */
     73 * of characters, and maximum number of lines.
     74 */
    7375struct history {
    7476        size_t viewport_top;
Note: See TracChangeset for help on using the changeset viewer.