display_loop.c, uart_commands.c: more reliable "prev" command