Skip to main content

🖥️ Interactive TUI Browser

leetrs provides a feature-rich, interactive Terminal User Interface (TUI) powered by Ratatui and crossterm.


🎹 Keyboard Controls & Shortcuts

KeyAction
j / DownMove table selection down one row
k / UpMove table selection up one row
g gJump directly to top of problem list
GJump directly to bottom of problem list
Ctrl + dScroll down half-page
Ctrl + uScroll up half-page
EnterSelect highlighted problem and launch configured editor
oOpen selected problem directly in default system web browser

Filtering & Visual Overlays

KeyAction
/Activate fuzzy search input bar (search by title or numeric ID)
1Filter by Easy difficulty
2Filter by Medium difficulty
3Filter by Hard difficulty
4Clear difficulty filter (show all difficulties)
tOpen Topic Overlay Filter Modal
TabCycle focus between UI widgets
?Toggle interactive Help Screen Overlay
EscClear search query / close active popup or modal
qQuit TUI

🎨 Visual Indicators

The table displays rich visual feedback for every problem:

  • Status Column:
    • (Green) — Solved / Accepted (ac)
    • 🔒 (Yellow) — Paid / Premium problem gate
  • Difficulty Column:
    • Easy — Styled in Vibrant Green
    • Medium — Styled in Yellow
    • Hard — Styled in Red
  • Acceptance Column: Formatted percentage (e.g. 52.4%).