Fixed vertical resize.
Don't fail on negative line number access.
Handle OSC 7 (Path) message.