From 4cf057977aba646580ff40895f5be31643b9aa6b Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Thu, 4 Aug 2022 13:08:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=9F=E6=9D=A5=E9=80=89=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E6=96=87=E4=BB=B6=EF=BC=88=E5=A4=B9=EF=BC=89=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E9=80=89=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/filebrowser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/arm11/filebrowser.c b/source/arm11/filebrowser.c index 4f1321f..db787f9 100644 --- a/source/arm11/filebrowser.c +++ b/source/arm11/filebrowser.c @@ -156,8 +156,8 @@ Result browseFiles(const char *const basePath, char selected[512]) s32 oldCursorPos = 0; while(1) { - ee_printf("\x1b[%lu;H ", oldCursorPos - windowPos); // Clear old cursor. - ee_printf("\x1b[%lu;H\x1b[33m> %.51s", cursorPos - windowPos, &dList->ptrs[cursorPos][1]); // Draw cursor. + ee_printf("\x1b[%lu;H\x1b[37m %.51s", oldCursorPos - windowPos, &dList->ptrs[oldCursorPos][1]); // Clear old cursor. + ee_printf("\x1b[%lu;H\x1b[33m>%.51s", cursorPos - windowPos, &dList->ptrs[cursorPos][1]); // Draw cursor. u32 kDown; do