X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/d428e0289e70ff5725f7b606ce1a69bd96e110d3..21d5f610b933e87b7110d629daddeb8f333dcec9:/Display.cpp diff --git a/Display.cpp b/Display.cpp index 555bd6d..7e088cb 100644 --- a/Display.cpp +++ b/Display.cpp @@ -135,14 +135,13 @@ void CYDisplayUpdate() { CYDisplayMove(CYCursor()); CYDisplayOutput(putchar, width, prompt); - CYCursor target(CYDisplayOutput(putchar, width, stream.str().c_str(), rl_point)); - if (target.imag() == 0) - putp(cursor_down); + if (current_.imag() == 0) + CYDisplayOutput(putchar, width, " "); putp(clr_eos); - CYDisplayMove(target); + CYDisplayMove(target); fflush(stdout); width_ = width;