From c1dbfc8e0951131aead115abcc371337aed41404 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Sun, 22 Feb 2009 16:58:14 +0100 Subject: hdt: Updating prompt to make it more readable (thx anne) --- com32/hdt/hdt-cli.c | 8 ++++---- 1 file 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; } } -- cgit v1.2.3