correct OSC escape sequence parsing, fixes #94.