Browse Source

Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop

cl-refactor
Gav Wood 11 years ago
parent
commit
49ff91e134
  1. 10
      neth/main.cpp

10
neth/main.cpp

@ -117,6 +117,7 @@ void interactiveHelp()
<< " send Execute a given transaction with current secret." << endl
<< " contract Create a new contract with current secret." << endl
<< " inspect <contract> Dumps a contract to <APPDATA>/<contract>.evm." << endl
<< " reset Resets ncurses windows" << endl
<< " exit Exits the application." << endl;
}
@ -819,6 +820,15 @@ int main(int argc, char** argv)
ofs.close();
}
}
else if (cmd == "reset")
{
vector<WINDOW*> ws { consolewin, blockswin, pendingwin, peerswin, contractswin, addswin, mainwin };
for (auto &w: ws)
{
wclear(w);
wrefresh(w);
}
}
else if (cmd == "help")
interactiveHelp();
else if (cmd == "exit")

Loading…
Cancel
Save