Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
@ -96,7 +96,10 @@ public:
return true;
}
void GetAnyKeyPress(olc::Key pressed)override{
void GetAnyKeyPress(olc::Key k)override{
if (k>=A&&k<=Z){
document[cursors[0].line].insert(cursors[0].pos,std::string(1,Z-k));
};