m_api_set(false)
{
QFont font;
- Pmsg0(000, "initializing m_messages_pending to false\n");
m_messages_pending = false;
m_parent = parent;
m_closeable = false;
pm_strcat(cmd, "\"");
write(cmd.c_str());
while ((stat = read()) > 0) {
+ bool first = true;
if (mainWin->m_displayAll) {
display_text(msg());
display_text("\n");
}
strip_trailing_junk(msg());
- results << msg();
+ bool doappend = true;
+ if (first) {
+ QString dum = msg();
+ if ((dum.left(6) == "*None*")) doappend = false;
+ }
+ if (doappend)
+ results << msg();
+ first = false;
}
notify(true);
discardToPrompt();