Re: [BUG] Re: [PATCH v3 02/25] cli: Move readline character-processing to a state machine

2023-01-28 Thread Simon Glass
Hi Heinrich, On Tue, 24 Jan 2023 at 08:19, Heinrich Schuchardt wrote: > > On 1/6/23 15:52, Simon Glass wrote: > > The current cread_line() function is very long. It handles the escape > > processing inline. The menu command does similar processing but at the > > character level, so there is some

[BUG] Re: [PATCH v3 02/25] cli: Move readline character-processing to a state machine

2023-01-24 Thread Heinrich Schuchardt
On 1/6/23 15:52, Simon Glass wrote: The current cread_line() function is very long. It handles the escape processing inline. The menu command does similar processing but at the character level, so there is some duplication. Split the character processing into a new function cli_ch_process() whic