Files
codex/codex-rs/tui
Felipe Coury 0c7efeb50d Show and copy file paths from TUI sidebar previews (#63388)
## Why

The sidebar file chooser can show and copy paths, but an open preview
has no equivalent shortcuts. The full path is especially useful when
a file fails to load and the user needs to locate it.

## What changed

Press `p` to show the full path in a scrollable view or `c` to copy
it from a sidebar preview, including when the file fails to load.
The preview reports clipboard status and can reveal the path when
copying fails or cannot be confirmed. `Esc` dismisses the path view
and returns to the preview.

Wrap long paths at directory separators where possible in both the
preview and file chooser, and let preview footer hints wrap across
two rows when space permits.

## Testing

Cover path reveal for a missing file, remapped list shortcuts in the
path view, and footer hints when a pager binding takes precedence.

GitOrigin-RevId: 480636c91a7bd7b0eb0b814dac62ce8ec9a6d783
2026-11-23 17:45:25 +00:00
..