mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 12:45:16 +00:00
![Hermès Bélusca-Maïto](/assets/img/avatar_default.png)
Rename KdbpReadCommand as KdIoReadLine. Extract the last-command repetition functionality out of KdIoReadLine and put it where it belongs: only in the KDBG command main loop KdbpCliMainLoop.
30 lines
725 B
C
30 lines
725 B
C
/*
|
|
* PROJECT: ReactOS KDBG Kernel Debugger Terminal Driver
|
|
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
|
* PURPOSE: KD Terminal Driver public header
|
|
* COPYRIGHT: Copyright 2023 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define KEY_BS 8
|
|
#define KEY_ESC 27
|
|
#define KEY_DEL 127
|
|
|
|
#define KEY_SCAN_UP 72
|
|
#define KEY_SCAN_DOWN 80
|
|
|
|
/* Scan codes of keyboard keys */
|
|
#define KEYSC_END 0x004f
|
|
#define KEYSC_PAGEUP 0x0049
|
|
#define KEYSC_PAGEDOWN 0x0051
|
|
#define KEYSC_HOME 0x0047
|
|
#define KEYSC_ARROWUP 0x0048 // == KEY_SCAN_UP
|
|
|
|
SIZE_T
|
|
KdIoReadLine(
|
|
_Out_ PCHAR Buffer,
|
|
_In_ SIZE_T Size);
|
|
|
|
/* EOF */
|