correctly handle multiline console input in presentation log