message: [vtbackend] code cleanup
diff: @@ -1629,16 +1629,13 @@ void Terminal::hardReset()
  state_.imagePool.clear();
  state_.cursor = {};
  - state_.tabs.clear();
  + primaryScreen_.updateCursorIterator();
  - state_.lastCursorPosition = state_.cursor.position;
  + state_.lastCursorPosition = {};
  - state_.colorPalette = state_.defaultColorPalette;
  + state_.tabs.clear();
  - if (isPrimaryScreen())
  - primaryScreen_.updateCursorIterator();
  - else
  - alternateScreen_.updateCursorIterator();
  + state_.colorPalette = state_.defaultColorPalette;
  hostWritableStatusLineScreen_.margin() = Margin {
  Margin::Vertical { {}, boxed_cast<LineOffset>(hostWritableStatusLineScreen_.pageSize().lines) - 1 },
  