code: func (a *Application) SetInputCapture(capture func(event *tcell.EventKey) *tcell.EventKey) *Application {
  	a.inputCapture = capture
  	return a
  }
docs: // SetInputCapture sets a function which captures all key events before they are
  // forwarded to the key event handler of the primitive which currently has
  // focus. This function can then choose to forward that key event (or a
  // different one) by returning it or stop the key event processing by returning
  // nil.
  //
  // Note that this also affects the default event handling of the application
  // itself: Such a handler can intercept the Ctrl-C event which closes the
  // applicatoon.