diff --git a/C++ProjectTemplate.wasm b/C++ProjectTemplate.wasm index e42ea93..4797be0 100755 Binary files a/C++ProjectTemplate.wasm and b/C++ProjectTemplate.wasm differ diff --git a/main.cpp b/main.cpp index 3d1a0a6..0da8662 100644 --- a/main.cpp +++ b/main.cpp @@ -118,7 +118,7 @@ public: document[cursors[0].line--].clear(); } } else { - + document[cursors[0].line].erase(cursors[0].pos---1,1); } } else if (k>=A&&k<=Z){