aboutsummaryrefslogtreecommitdiff
path: root/src/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd.c')
-rw-r--r--src/cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd.c b/src/cmd.c
index d9abc87..7c757b7 100644
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -25,9 +25,8 @@ static void cmd_chan_text(void) {
scr_print_active("/");
scr_print_active(target);
}
- scr_print_active(" ");
+ scr_print_active("> ");
scr_print_active(command);
- scr_print_active(">");
scr_eol_active();
txbuf_set_str("PRIVMSG ");
@@ -54,5 +53,6 @@ void cmd_command(const char *cmd) {
}
void cmd_execute(void) {
+ if(!*edit_box) return;
cmd_command(edit_box);
}