| 43 | } |
| 44 | |
| 45 | void ConsoleController::NextCommand() |
| 46 | { |
| 47 | size_t cIndex = consoleModel->GetCurrentCommandIndex(); |
| 48 | if (cIndex < consoleModel->GetPreviousCommands().size()) |
| 49 | consoleModel->SetCurrentCommandIndex(cIndex+1); |
| 50 | } |
| 51 | |
| 52 | void ConsoleController::PreviousCommand() |
| 53 | { |
no test coverage detected