MCPcopy Create free account
hub / github.com/betta-tech/byo-coding-agent / hintText

Method hintText

internal/ui/program.go:1150–1161  ·  view source on GitHub ↗

hintText returns the keymap hint shown under the input box. Changes with the active focus so the user always sees which keys are live.

()

Source from the content-addressed store, hash-verified

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.
1150func (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.

Callers 1

inputAreaMethod · 0.95

Calls 1

EnabledFunction · 0.92

Tested by

no test coverage detected