MCPcopy
hub / github.com/basecamp/once / logsHelpBindings

Function logsHelpBindings

internal/ui/logs.go:235–241  ·  view source on GitHub ↗
(filterEnabled bool)

Source from the content-addressed store, hash-verified

233}
234
235func logsHelpBindings(filterEnabled bool) []key.Binding {
236 bindings := []key.Binding{logsKeys.Back}
237 if filterEnabled {
238 bindings = append([]key.Binding{logsKeys.Filter}, bindings...)
239 }
240 return bindings
241}
242
243func (m *Logs) updateViewportSize() {
244 headerHeight := 2 // title + blank/filter line

Callers 3

NewLogsFunction · 0.85
handleFilterKeyMethod · 0.85
handleNormalKeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…