(f func(v *gocui.View, key gocui.Key) bool)
| 248 | } |
| 249 | |
| 250 | func (self *app) wrapEditor(f func(v *gocui.View, key gocui.Key) bool) func(v *gocui.View, key gocui.Key) bool { |
| 251 | return func(v *gocui.View, key gocui.Key) bool { |
| 252 | matched := f(v, key) |
| 253 | if matched { |
| 254 | self.filterWithString(v.TextArea.GetContent()) |
| 255 | } |
| 256 | return matched |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | func suspendAndRunTest(test *components.IntegrationTest, sandbox bool, waitForDebugger bool, raceDetector bool, inputDelay int) { |
| 261 | if err := gocui.Screen.Suspend(); err != nil { |
no test coverage detected