From c584b893e1a1d9b4361d6f11605c46d102583572 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 12 Sep 2012 23:20:16 -0700 Subject: [PATCH] After a window resize, calculate offset, not end. --- Display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Display.cpp b/Display.cpp index fbca8df..5e45c45 100644 --- a/Display.cpp +++ b/Display.cpp @@ -127,7 +127,7 @@ void CYDisplayUpdate() { if (width_ != width) { current_ = CYCursor(); CYDisplayOutput(NULL, width, prompt); - CYDisplayOutput(NULL, width, buffer, point_); + current_ = CYDisplayOutput(NULL, width, buffer, point_); } CYDisplayMove(CYCursor()); -- 2.49.0