tui: refactor dialog system to use single active dialog instead of stack

This commit is contained in:
Dax Raad
2025-12-15 19:33:17 -05:00
parent 0dce5173cc
commit 112c58abf5
11 changed files with 78 additions and 104 deletions

View File

@@ -27,7 +27,7 @@ export function DialogSelectFile() {
if (path) {
tabs().open("file://" + path)
}
dialog.clear()
dialog.close()
}}
>
{(i) => (