Function LineGetter.workOnLine

for integrating into another event loop you can pass individual events to this and the line getter will work on it

bool workOnLine (
  InputEvent e
);

returns false when there's nothing more to do