TUI: Code view

open
Max Rakhimov · 2026-10-03 · 6a20ec113d44 · issue

A tree and a file view on a branch, the TUI counterpart of the code view of the site: the tree of a branch, a file with line numbers and syntax highlight, and a line range. Reached from Repository, My Repository and Branches; Enter on a directory descends, Enter on a file opens it. The branch is the branch param of the Repository view, and an empty one is the default branch. Read-only: no edit and no commit. The file reference grammar is that of the site, #file:<path>@<branch>:L<n>-<m>, so the file reference issue opens this view at a path and a line. A binary or LFS file shows its size and no content.