Fixed console cursor positioning.

This commit is contained in:
Bradley Bell 2005-03-20 13:15:10 +00:00
parent a41c6ca7ce
commit 34158bfbf5

View file

@ -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);