gui: Discard overlong input lines.