Add `clear` command in monitor, just like linux
terminal `clear` command do.
---
v2:
- Correct the ANSI escape sequence order.
- Add more detailed comment in code.
v1:
- Init commit, see:
https://lore.kernel.org/qemu-devel/20260418133927.43012-1-AlanoSong@163.com/
Signed-off-by: Alano Song <AlanoSong@163.com>
---
Alano Song (1):
monitor: Add `clear` command
hmp-commands.hx | 14 ++++++++++++++
include/monitor/hmp.h | 1 +
monitor/hmp-cmds.c | 11 +++++++++++
3 files changed, 26 insertions(+)
--
2.43.0