()
| 58 | } |
| 59 | |
| 60 | func getHelpContent() string { |
| 61 | helpContent := `[::b][yellow]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[white] |
| 62 | |
| 63 | [::b][cyan]🚀 TV - Modern Terminal Table Viewer[-][white] |
| 64 | |
| 65 | [::b][yellow]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[white] |
| 66 | |
| 67 | [::b][green]📖 Help Navigation[white] |
| 68 | [yellow]j/k[-] Scroll help text |
| 69 | [yellow]gg/G[-] Jump to top/bottom |
| 70 | [yellow]Ctrl-d/u[-] Page down/up |
| 71 | [yellow]? or q or Esc[-] Close help dialog |
| 72 | |
| 73 | [::b][red]🚪 Quit[white] |
| 74 | [yellow]q[-] Quit application |
| 75 | [yellow]Esc[-] Close dialog or clear search |
| 76 | |
| 77 | [::b][blue]⬆️ Movement[white] |
| 78 | [yellow]h[-] Move left ⬅️ |
| 79 | [yellow]l[-] Move right ➡️ |
| 80 | [yellow]j[-] Move down ⬇️ |
| 81 | [yellow]k[-] Move up ⬆️ |
| 82 | |
| 83 | [yellow]w[-] Move to next column (word forward) |
| 84 | [yellow]b[-] Move to previous column (word backward) |
| 85 | |
| 86 | [yellow]gg[-] Go to first row (press g twice) |
| 87 | [yellow]G[-] Go to last row |
| 88 | |
| 89 | [yellow]0[-] Go to first column |
| 90 | [yellow]$[-] Go to last column |
| 91 | |
| 92 | [yellow]Ctrl-d[-] Page down (half page) |
| 93 | [yellow]Ctrl-u[-] Page up (half page) |
| 94 | |
| 95 | [::b][cyan]🖱️ Mouse Support[white] |
| 96 | [yellow]Left Click[-] Select cell |
| 97 | [yellow]Scroll Wheel[-] Scroll up/down through rows |
| 98 | [yellow]Click Buttons[-] Interact with dialogs and forms |
| 99 | |
| 100 | [::b][magenta]🔍 Search[white] |
| 101 | [yellow]/[-] Search for text |
| 102 | • Case-insensitive by default |
| 103 | • Press [yellow]Tab[-] to navigate to checkbox |
| 104 | • Press [yellow]Space[-] to toggle [yellow]Use Regex[-] option |
| 105 | [yellow]n[-] Next search result ⏭ |
| 106 | [yellow]N[-] Previous search result ⏮ |
| 107 | [yellow]Esc[-] Clear search highlighting |
| 108 | |
| 109 | [::b][green]🎯 Regex Search Examples[white] |
| 110 | [yellow]^start[-] Match at beginning of cell |
| 111 | [yellow]end$[-] Match at end of cell |
| 112 | [yellow]\d+[-] Match digits (numbers) |
| 113 | [yellow]@.*\.com[-] Match email pattern |
| 114 | [yellow]word1|word2[-] Match either word (OR) |
| 115 | [yellow][A-Z]+[-] Match uppercase letters |
| 116 | |
| 117 | [::b][orange]🔎 Filter[white] |
no outgoing calls