erebus
diff src/console.h @ 42:b9294cd6b9dc
console input history with up/down
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 10 Jun 2014 16:15:08 +0300 |
parents | 2e817711d0f6 |
children |
line diff
1.1 --- a/src/console.h Tue Jun 10 12:28:56 2014 +0300 1.2 +++ b/src/console.h Tue Jun 10 16:15:08 2014 +0300 1.3 @@ -25,6 +25,8 @@ 1.4 // input history 1.5 int max_hist_lines; 1.6 std::list<std::string> hist; 1.7 + bool hist_iter_valid; 1.8 + std::list<std::string>::const_reverse_iterator hist_iter; 1.9 1.10 // console output 1.11 int max_output_lines;