(filterEnabled bool)
| 233 | } |
| 234 | |
| 235 | func 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 | |
| 243 | func (m *Logs) updateViewportSize() { |
| 244 | headerHeight := 2 // title + blank/filter line |
no outgoing calls
no test coverage detected
searching dependent graphs…