ui: keep the selected file in state, drop the File: title line

The File: EF.DIR [LF] line doubled as the selection store: pysimFsClickFile
wrote a formatted display string there and pysimFsRead/Save parsed it back
(stripping '✗ ' and ' [TYPE]'). The pane now keeps the name in
pysimFsSelected, the redundant title is gone (FID/type/size/FCI remain in
the info block), and the dead pysimFsSelect() plus the unused 'File:' RU
entry are removed. Read/Save still re-select on the server first: pySim's
current selection is a shared cursor that tree expansion, scans and
commands move, so it cannot identify the file shown in the pane.

SW cache v121 -> v122; structural test updated.
This commit is contained in:
2026-09-12 22:12:25 +03:00
parent e0e86e31af
commit 2a559371ae
3 changed files with 13 additions and 24 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'otaman-v121';
const CACHE = 'otaman-v122';
const URLS = [
'index.html',
'help.html',