Changes in uspace/srv/hid/fb/serial_console.c [7e752b2:32e7411] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/serial_console.c
r7e752b2 r32e7411 47 47 #include <io/style.h> 48 48 #include <str.h> 49 #include <inttypes.h>50 49 #include <io/screenbuffer.h> 51 50 … … 136 135 137 136 char control[MAX_CONTROL]; 138 snprintf(control, MAX_CONTROL, "\033[%" PRIun ";%" PRIun "f", 139 row + 1, col + 1); 137 snprintf(control, MAX_CONTROL, "\033[%u;%uf", row + 1, col + 1); 140 138 serial_puts(control); 141 139 } … … 255 253 { 256 254 char control[MAX_CONTROL]; 257 snprintf(control, MAX_CONTROL, "\033[0;% " PRIun "r", last_row);255 snprintf(control, MAX_CONTROL, "\033[0;%ur", last_row); 258 256 serial_puts(control); 259 257 }
Note:
See TracChangeset
for help on using the changeset viewer.