aboutsummaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu.c b/src/menu.c
index cf9226d..d0f8322 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -4,10 +4,10 @@ void do_menu(struct player_t *player, const struct command_t *commands, uint len
{
for(uint i = 0; i < len; ++i)
{
- printf("%d. %s\n", i + 1, commands[i].name);
+ output("%d. %s\n", i + 1, commands[i].name);
}
- printf("%s", prompt);
+ output("%s", prompt);
char *cmdbuf = read_string();
all_lower(cmdbuf);
@@ -64,7 +64,7 @@ exec_cmd:
if(best_command >= 0)
{
commands[best_command].handler(player);
- printf("\n");
+ output("\n");
}
free(cmdbuf);