vcom/internal/fs
vrubelroman bba8783f10 Fix directory preview layout to exactly match browser pane columns
Root cause: renderPreviewPane() was stuffing directory entries into the
viewport model via SetContent(), then rendering through
renderPreviewContent() which wraps the viewport in an additional
border+padding box. This reduced the effective content width by 4
characters compared to the browser pane's innerWidth (width-2), causing
column misalignment where the date column would wrap to the next line.

Fix: For directory previews, directly render entries using the same
renderPaneRows() and renderColumnsHeader() functions as the browser
pane, at the same innerWidth. A temporary BrowserPane is created with
the directory entries, and renderPaneRows() is called with active=false,
producing pixel-identical output to the main file browser.

Removed renderDirectoryPreviewBody() which is no longer needed.
2026-04-27 16:52:44 +03:00
..
archive.go Fix archive cursor, navigation, and format cycling color 2026-04-27 15:30:39 +03:00
entry.go add .nix to textExtensions 2026-04-27 14:25:19 +03:00
ops.go Add F2 rename flow and improve modal key hints 2026-04-24 13:15:04 +03:00
ops_test.go Add F2 rename flow and improve modal key hints 2026-04-24 13:15:04 +03:00
preview.go Fix directory preview layout to exactly match browser pane columns 2026-04-27 16:52:44 +03:00
scan.go Refine mouse interactions and info pane UX 2026-04-22 22:50:30 +03:00