Changeset aefdccd in mainline for uspace/lib/output/src/chargrid.c


Ignore:
Timestamp:
2025-10-20T06:14:54Z (8 weeks ago)
Author:
GitHub <noreply@…>
Parents:
adbd7e1 (diff), 3e41cc4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
boba-buba <120932204+boba-buba@…> (2025-10-20 06:14:54)
git-committer:
GitHub <noreply@…> (2025-10-20 06:14:54)
Message:

Merge branch 'HelenOS:master' into ticket/packet-capture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/output/src/chargrid.c

    radbd7e1 raefdccd  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2006 Josef Cejka
    34 * All rights reserved.
     
    180181}
    181182
     183/** Return cursor to the beginning of the line.
     184 *
     185 * @param scrbuf Chargrid.
     186 *
     187 * @return Number of rows which have been affected. In usual
     188 *         situations this is 1.
     189 *
     190 */
     191sysarg_t chargrid_cr(chargrid_t *scrbuf)
     192{
     193        assert(scrbuf->col < scrbuf->cols);
     194        assert(scrbuf->row < scrbuf->rows);
     195
     196        scrbuf->col = 0;
     197        return 1;
     198}
     199
    182200/** Jump to a new row in chargrid.
    183201 *
Note: See TracChangeset for help on using the changeset viewer.