hintText returns the keymap hint shown under the input box. Changes with the active focus so the user always sees which keys are live.
()
| 1148 | // hintText returns the keymap hint shown under the input box. Changes with |
| 1149 | // the active focus so the user always sees which keys are live. |
| 1150 | func (m harness) hintText() string { |
| 1151 | if m.debugFocus { |
| 1152 | if m.debugMode == debugDetail { |
| 1153 | return " debug · esc: back · pgup/pgdn: scroll · tab: input · ctrl-d: exit" |
| 1154 | } |
| 1155 | return " debug · ↑/↓ home/end: select · enter: detail · esc/tab: input · ctrl-d: exit" |
| 1156 | } |
| 1157 | if debug.Enabled() { |
| 1158 | return " enter: send · tab: debug panel · pgup/pgdn: scroll · ctrl-d: exit" |
| 1159 | } |
| 1160 | return " enter: send · pgup/pgdn: scroll · ctrl-d: exit" |
| 1161 | } |
| 1162 | |
| 1163 | // usageStatus formats the session's cumulative token usage for the status |
| 1164 | // line. Empty when no calls have been made or no UsageFunc was wired. |