vector<string> mHistory;
string mLine;
int mHistoryIndex;
- int mCurrentPos;
- int mCurrentPosTmp;
+ unsigned int mCurrentPos;
+ unsigned int mCurrentPosTmp;
int mLineLength;
public:
LineBuffer():mHistoryIndex(0), mCurrentPos(0){
case 49:
//home
mCurrentPos = 0;
- getch();
+ a = getch();
break;
default:
- getch();
+ a = getch();
}
return true;