Fixed console cursor positioning.
This commit is contained in:
parent
a41c6ca7ce
commit
34158bfbf5
|
@ -681,7 +681,7 @@ void DrawCommandLine() {
|
|||
}
|
||||
|
||||
if(Blink) {
|
||||
int prompt_width, command_width, h, w;
|
||||
int prompt_width, cmd_width, h, w;
|
||||
|
||||
gr_get_string_size(Topmost->Prompt, &prompt_width, &h, &w);
|
||||
gr_get_string_size(Topmost->LCommand + Topmost->Offset, &cmd_width, &h, &w);
|
||||
|
|
Loading…
Reference in a new issue