aboutsummaryrefslogtreecommitdiffstats
path: root/Library/UefiShellUfmCommandLib/tbi/win.c
diff options
context:
space:
mode:
Diffstat (limited to 'Library/UefiShellUfmCommandLib/tbi/win.c')
-rw-r--r--Library/UefiShellUfmCommandLib/tbi/win.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/UefiShellUfmCommandLib/tbi/win.c b/Library/UefiShellUfmCommandLib/tbi/win.c
index 48fadbc..0bf66a7 100644
--- a/Library/UefiShellUfmCommandLib/tbi/win.c
+++ b/Library/UefiShellUfmCommandLib/tbi/win.c
@@ -344,5 +344,6 @@ VOID wrefresh(struct window *w)
}
}
- stdout->SetAttribute(stdout, w->scr->attr);
+ stdout->SetCursorPosition(stdout, w->begx + w->curx, w->begy + w->cury);
+ stdout->SetAttribute(stdout, w->attr[w->cury][w->curx]);
}