aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-02-22 16:58:14 +0100
committerH. Peter Anvin <hpa@zytor.com>2009-02-25 20:58:43 -0800
commitc1dbfc8e0951131aead115abcc371337aed41404 (patch)
tree3e60df4531d7c8874dca9939e9a3a36013e8b55d
parentda9f8b1d5bf0246bbcad42c1c3c076f4df187200 (diff)
downloadsyslinux-elf-c1dbfc8e0951131aead115abcc371337aed41404.tar.gz
syslinux-elf-c1dbfc8e0951131aead115abcc371337aed41404.tar.xz
syslinux-elf-c1dbfc8e0951131aead115abcc371337aed41404.zip
hdt: Updating prompt to make it more readable (thx anne)
-rw-r--r--com32/hdt/hdt-cli.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index 2071aa06..ebb2abcc 100644
--- a/com32/hdt/hdt-cli.c
+++ b/com32/hdt/hdt-cli.c
@@ -35,17 +35,17 @@ void set_mode(struct s_cli_mode *cli_mode, cli_mode_t mode, struct s_hardware *h
switch (mode) {
case EXIT_MODE:
cli_mode->mode=mode;
- snprintf(cli_mode->prompt, sizeof(cli_mode->prompt), "%s:", CLI_EXIT);
+ snprintf(cli_mode->prompt, sizeof(cli_mode->prompt), "%s> ", CLI_EXIT);
break;
case HDT_MODE:
cli_mode->mode=mode;
- snprintf(cli_mode->prompt, sizeof(cli_mode->prompt), "%s:", CLI_HDT);
+ snprintf(cli_mode->prompt, sizeof(cli_mode->prompt), "%s> ", CLI_HDT);
break;
case PCI_MODE:
cli_mode->mode=mode;
- snprintf(cli_mode->prompt,sizeof(cli_mode->prompt),"%s:", CLI_PCI);
+ snprintf(cli_mode->prompt,sizeof(cli_mode->prompt),"%s> ", CLI_PCI);
if (!hardware->pci_detection)
cli_detect_pci(hardware);
break;
@@ -58,7 +58,7 @@ void set_mode(struct s_cli_mode *cli_mode, cli_mode_t mode, struct s_hardware *h
break;
}
cli_mode->mode=mode;
- snprintf(cli_mode->prompt,sizeof(cli_mode->prompt),"%s:",CLI_DMI);
+ snprintf(cli_mode->prompt,sizeof(cli_mode->prompt),"%s> ",CLI_DMI);
break;
}
}