MCPcopy
hub / github.com/Azure/aztfexport / isUserTyping

Method isUserTyping

internal/ui/importlist/importlist.go:210–224  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

208}
209
210func (m Model) isUserTyping() bool {
211 // In filtering mode
212 if m.list.FilterState() == list.Filtering {
213 return true
214 }
215
216 // Any textinput is in focused mode
217 for _, item := range m.list.Items() {
218 item := item.(Item)
219 if item.textinput.Focused() {
220 return true
221 }
222 }
223 return false
224}
225
226func (m Model) isNothingToImport() bool {
227 for _, item := range m.list.Items() {

Callers 1

UpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected