Preserve current line when resetting

Authored by sandsmark on Jul 6 2016, 4:01 PM.

Description

Preserve current line when resetting

Reset was always called with clearScreen = true, so no point in having
that variable. We can probably also remove Screen::clear() and
Screen::home(), they're not used anymore, and weren't really useful
before this either.

We still preserve the scrollback history when resetting, which is not
what other terminal emulators do (http://stackoverflow.com/a/5367075),
but we do have a separate action for it, so I think it is a nice extra
feature to preserve it.

REVIEW: 128389

Details

Committed
sandsmarkJul 7 2016, 11:15 PM
Parents
R319:1d20e43ea9eb: Port to QRegularExpression
Branches
Unknown
Tags
Unknown