Function ScrollbackBuffer.handleEvent

Default event handling for this widget. Call this only after drawing it into a rectangle and only if the event ought to be dispatched to it (which you determine however you want; you could dispatch all events to it, or perhaps filter some out too)

bool handleEvent(
  InputEvent e
);

Returns

true if it should be redrawn