Searched hist:b86c4bd5 (Results 1 – 1 of 1) sorted by relevance
/reactos/ntoskrnl/kdbg/ |
H A D | kdb_cli.c | b86c4bd5 Mon Oct 14 18:29:46 GMT 2024 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> [NTOS:KDBG] Small improvements for KdbpCliMainLoop() and KdbpDoCommand() (#4917)
- Move the printing pager state reset code (setting the number of printed rows and columns to zero, and the output aborted flag) to KdbpDoCommand(). This allows to keep the original behaviour, while also inheriting it whenever KdbpDoCommand() is invoked elsewhere (for example, from KdbpCliInterpretInitFile()).
- Use KdbPuts/Printf() instead of KdbpPrint() for the entry banners, so that they aren't subject to the current printing pager state. Do the same for the "command unknown" error in KdbpDoCommand().
- Add a "Type 'help' for a list of commands" banner, for the users.
- Replace the do-while-loop with a simple while-loop.
|