Changeset 1a96db9 in mainline for uspace/lib/output/src
- Timestamp:
- 2025-10-08T18:09:09Z (3 months ago)
- Branches:
- master
- Children:
- c111da2
- Parents:
- 32ae27bb
- File:
-
- 1 edited
-
uspace/lib/output/src/chargrid.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/output/src/chargrid.c
r32ae27bb r1a96db9 1 1 /* 2 * Copyright (c) 2025 Jiri Svoboda 2 3 * Copyright (c) 2006 Josef Cejka 3 4 * All rights reserved. … … 180 181 } 181 182 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 */ 191 sysarg_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 182 200 /** Jump to a new row in chargrid. 183 201 *
Note:
See TracChangeset
for help on using the changeset viewer.
