cursor position fix
cursor X and Y coordinates were transposed for the simple string prompts
This commit is contained in:
parent
afae5ea14a
commit
08e0f96a81
|
@ -406,4 +406,4 @@ drawSimplePrompt :: String -> Renderer
|
|||
drawSimplePrompt pStr s = let
|
||||
fullStr = pStr ++ s^.inputBuffer
|
||||
strWidth = safeWcswidth fullStr
|
||||
in showCursor () (Location (0, strWidth)) $ str fullStr
|
||||
in showCursor () (Location (strWidth, 0)) $ str fullStr
|
||||
|
|
Loading…
Reference in New Issue
Block a user