[PATCH] cmdline: update clear screen behavior

Marat Khalili marat.khalili at huawei.com
Mon Jan 5 16:07:50 CET 2026


> -----Original Message-----
> From: Kerem Aksu <kerem.aksu at i2i-systems.com>
> Sent: Monday 5 January 2026 11:35
> To: dev at dpdk.org
> Cc: Kerem Aksu <kerem.aksu at i2i-systems.com>
> Subject: [PATCH] cmdline: update clear screen behavior
> 
> Control+L should clear screen and redisplay prompt at the top
> line. DPDK rdline library will not change anything on the screen when
> fed with Control+L.  When prompt is lost after too many text written
> to the terminal, users will press Control+L to clear screen and put
> the prompt to the top line. This is expected behavior in bash(1) or
> applications that are using readline(3). Updated to behave as users
> expected.
> 
> Signed-off-by: Kerem Aksu <kerem.aksu at i2i-systems.com>
> ---

Acked-by: Marat Khalili <marat.khalili at huawei.com>
Tested-by: Marat Khalili <marat.khalili at huawei.com>

Interestingly, currently supported combinations also miss Ctrl+U.


More information about the dev mailing list