Re: [PATCH v2] bootmenu: Allow to quit it via ESC/CTRL+C

2021-01-18 Thread Tom Rini
On Sun, Dec 27, 2020 at 01:04:38AM +0100, Pali Rohár wrote: > When ESC/CTRL+C is pressed interrupt bootmenu and jump into U-Boot console. > As the last entry in bootmenu is always U-Boot console just choose the last > entry when ESC or CTRL+C is pressed. > > ESC key is detected when either no

Re: [PATCH v2] bootmenu: Allow to quit it via ESC/CTRL+C

2020-12-28 Thread Simon Glass
On Sat, 26 Dec 2020 at 17:05, Pali Rohár wrote: > > When ESC/CTRL+C is pressed interrupt bootmenu and jump into U-Boot console. > As the last entry in bootmenu is always U-Boot console just choose the last > entry when ESC or CTRL+C is pressed. > > ESC key is detected when either no other

[PATCH v2] bootmenu: Allow to quit it via ESC/CTRL+C

2020-12-26 Thread Pali Rohár
When ESC/CTRL+C is pressed interrupt bootmenu and jump into U-Boot console. As the last entry in bootmenu is always U-Boot console just choose the last entry when ESC or CTRL+C is pressed. ESC key is detected when either no other character appears after '\e' within 10ms or when non-'[' appears