Use minimal state machine to determine line wrapping