Changeset 09f41d3 in mainline for uspace/app/tetris/screen.c
- Timestamp:
- 2024-09-25T17:19:36Z (6 months ago)
- Branches:
- master
- Children:
- c23a1fe
- Parents:
- 6a753a9c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tetris/screen.c
r6a753a9c r09f41d3 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2011 Martin Decky 3 4 * All rights reserved. … … 143 144 console_cursor_visibility(console, 0); 144 145 resume_normal(); 145 scr_ clear();146 scr_set(); 146 147 } 147 148 … … 170 171 } 171 172 173 if ((ccap & CONSOLE_CAP_CURSORCTL) == 0) { 174 stop("Your screen does not support cursor control.\n"); 175 return; 176 } 172 177 *rgb = ((ccap & CONSOLE_CAP_RGB) == CONSOLE_CAP_RGB); 173 178 *color = ((ccap & CONSOLE_CAP_INDEXED) == CONSOLE_CAP_INDEXED); … … 195 200 196 201 snprintf(smallscr, sizeof(smallscr), 197 "the screen is too small (must be at least %dx%d) ",202 "the screen is too small (must be at least %dx%d)\n", 198 203 MINROWS, MINCOLS); 199 204 stop(smallscr);
Note:
See TracChangeset
for help on using the changeset viewer.