aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/hdt-cli.c')
-rw-r--r--com32/hdt/hdt-cli.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index 08e08273..160089d3 100644
--- a/com32/hdt/hdt-cli.c
+++ b/com32/hdt/hdt-cli.c
@@ -261,6 +261,10 @@ void start_cli_mode(struct s_hardware *hardware)
//fgets(cli_line, sizeof cli_line, stdin);
current_key = get_key(stdin, 0);
switch (current_key) {
+ case KEY_CTRL('c'):
+ more_printf("\n");
+ display_prompt(cli_line, &cli_mode, &cur_pos);
+ break;
case KEY_TAB:
break;
case KEY_ENTER: