Explorar o código

[quickfix] scrolling issue

isundil %!s(int64=9) %!d(string=hai) anos
pai
achega
66a6cd31aa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/curseOutput.cpp

+ 1 - 1
src/curseOutput.cpp

@@ -317,7 +317,7 @@ unsigned int CurseOutput::write(const int &x, const int &y, const std::string &s
     int offsetY = y - topleft;
     if (offsetY < 0)
         return 1;
-    move(y, x);
+    move(offsetY, x);
     write(str, maxWidth, flags);
     return getNbLines(str.size() +x, maxWidth);
 }