Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/fb/serial_console.c

    r7e752b2 r32e7411  
    4747#include <io/style.h>
    4848#include <str.h>
    49 #include <inttypes.h>
    5049#include <io/screenbuffer.h>
    5150
     
    136135       
    137136        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);
    140138        serial_puts(control);
    141139}
     
    255253{
    256254        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);
    258256        serial_puts(control);
    259257}
Note: See TracChangeset for help on using the changeset viewer.