Skip to content

Commit

Permalink
Should I throw an exception?
Browse files Browse the repository at this point in the history
  • Loading branch information
bderrly committed Aug 8, 2016
1 parent 957ccbc commit 094f233
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions braincurses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ void Braincurses::InitializeNcurses() {
initscr();

if (has_colors() == FALSE) {
// TODO: throw an exception.
// TODO: throw an exception?
}

start_color();
if (COLORS < 8) {
// TODO: throw an exception.
// TODO: throw an exception?
}
use_default_colors();

Expand Down Expand Up @@ -143,7 +143,6 @@ void Braincurses::WipeBoard() {
std::vector<int> Braincurses::GetInput() {
std::string delStr (kInputLength, ' ');
std::vector<int> guessInput (code_.Length(), -1);
//int column[4] = {4, 19, 34, 49};
int column[6] = {2, 11, 20, 29, 38, 47};
int input;

Expand Down

0 comments on commit 094f233

Please sign in to comment.