vcom/internal/ui
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
..
icon_mode.go Add auto icon mode fallback and Nerd Font docs 2026-04-24 14:44:49 +03:00
image_overlay.go Speed up kitty image previews 2026-04-24 23:42:23 +03:00
keymap.go Add v as F3 alternative, add F6/move and F7/mkdir to footer 2026-04-27 15:43:45 +03:00
model.go Fix directory preview layout to exactly match browser pane columns 2026-04-27 16:52:44 +03:00
pane.go Add archive-as-folder navigation and extraction copy flow 2026-04-24 15:14:05 +03:00