Re: [PATCH v5 07/17] bootmenu: flush input buffer before waiting user key input

2022-05-09 Thread Masahisa Kojima
Hi Heinrich, On Sat, 30 Apr 2022 at 04:46, Heinrich Schuchardt wrote: > > On 4/28/22 10:09, Masahisa Kojima wrote: > > Before waiting user key input to stop autoboot, the input buffer > > must be flushed. > > I am not sure if this is desirable. > > The default time for autoboot stopping is just

Re: [PATCH v5 07/17] bootmenu: flush input buffer before waiting user key input

2022-04-29 Thread Heinrich Schuchardt
On 4/28/22 10:09, Masahisa Kojima wrote: Before waiting user key input to stop autoboot, the input buffer must be flushed. I am not sure if this is desirable. The default time for autoboot stopping is just 2 seconds. So it is nice to be able to type ahead. On the other hand I have seen

[PATCH v5 07/17] bootmenu: flush input buffer before waiting user key input

2022-04-28 Thread Masahisa Kojima
Before waiting user key input to stop autoboot, the input buffer must be flushed. Signed-off-by: Masahisa Kojima --- Change in v5: - newly created, split into separate patch cmd/bootmenu.c | 4 1 file changed, 4 insertions(+) diff --git a/cmd/bootmenu.c b/cmd/bootmenu.c index