Quellcode durchsuchen

[quickfix] scrolling issue

isundil vor 9 Jahren
Ursprung
Commit
66a6cd31aa
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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);
 }