From 3f3644d165cfcc26cc82500640e2541636d50024 Mon Sep 17 00:00:00 2001 From: minjaesong Date: Sun, 26 Apr 2026 02:19:24 +0900 Subject: [PATCH] taut: minor ui change --- assets/disk0/tvdos/bin/taut.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/disk0/tvdos/bin/taut.js b/assets/disk0/tvdos/bin/taut.js index 7c3de09..f255b2a 100644 --- a/assets/disk0/tvdos/bin/taut.js +++ b/assets/disk0/tvdos/bin/taut.js @@ -818,7 +818,7 @@ function drawVoiceDetail(isVerticalLayout = false, ptn = null, activeRow = -1, c const y = PTNVIEW_OFFSET_Y + i const line = lines[i] con.move(y, dx) - con.color_pair(colVoiceHdr, 255) + con.color_pair(colNote, 255) print((line.label + ' ').substring(0, 6) + ' ') con.color_pair(line.fg, 255) print((line.value + ' '.repeat(detailW)).substring(0, detailW - 8)) @@ -1668,6 +1668,7 @@ while (!exitFlag) { if (event[0] !== "key_down") return const keysym = event[1] const keyJustHit = (1 == event[2]) + const shiftDown = (event.includes(59) || event.includes(60)) if (keysym === "" || keysym === "q" || keysym === "Q") { exitFlag = true @@ -1675,7 +1676,10 @@ while (!exitFlag) { } if (keyJustHit && keysym === "") { - currentPanel = (currentPanel + 1) % panels.length + currentPanel = (currentPanel + (shiftDown ? -1 : 1)) + if (currentPanel < 0) currentPanel += panels.length + currentPanel = currentPanel % panels.length + drawAll() return }