aboutsummaryrefslogtreecommitdiffstats
path: root/Library/UefiShellUfmCommandLib/tbi
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-12-15 15:17:24 +0300
committerJoursoir <chat@joursoir.net>2021-12-15 15:17:24 +0300
commit75cd69412775f5b7d3d39dc1fe9abac5c19c36b1 (patch)
tree47b89ac3c0a68ce68d2caf45391031067c96dff0 /Library/UefiShellUfmCommandLib/tbi
parent704f61fcafc0b5b8e8dfff8e56821feb556b40c0 (diff)
downloadufm-0.2.1.tar.gz
ufm-0.2.1.tar.bz2
ufm-0.2.1.zip
tbi/win: use parameters of the window for displaying cursorv0.2.1
Diffstat (limited to 'Library/UefiShellUfmCommandLib/tbi')
-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]);
}