diff options
Diffstat (limited to 'src/cmd.c')
| -rw-r--r-- | src/cmd.c | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -373,16 +373,15 @@ static void do_color(void) { } static void do_query(void) { - if(scr_create(arg1, 1) == 0xff) { - err_marker(); - scr_print_current("Can't create query, all screens in use\n"); - return; - } - /* - scr_print_current("Starting conversation with "); - scr_print_current(arg1); - scr_eol_current(); - */ + do { + arg2 = nextarg(arg1); + if(scr_create(arg1, 1) == 0xff) { + err_marker(); + scr_print_current("Query: all screens in use\n"); + return; + } + arg1 = arg2; + } while(arg1); } static void do_msg(void) { |
