add a 'not found' message if sh/dx shows nothing
authorDirk Koopman <djk@tobit.co.uk>
Thu, 29 Aug 2019 10:28:06 +0000 (11:28 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Thu, 29 Aug 2019 10:28:06 +0000 (11:28 +0100)
cmd/show/dx.pl

index 21a126b6a0c6aab728ea0546d84df894ffe07d3e..192d252fce49addc2c46c79bb40c95d5497a5f81 100644 (file)
@@ -406,6 +406,7 @@ push @out, $self->spawn_cmd("sh/dx $line", \&Spot::search,
                                                                                }
                                                                        }
                                                                }
+                                                               push @out, $self->msg('e3', "sh/dx", "'$line'") unless @out;
                                                                $dxchan->send(@out);
                                                        });