diff --git a/metainfo.xml b/metainfo.xml index 97d4fa6bff..19095a3cf0 100644 --- a/metainfo.xml +++ b/metainfo.xml @@ -121,6 +121,7 @@
  • Add better bell sound (#1378)
  • Add config entry to configure behaviour on exit from search mode
  • Add handling of different input commands (#629)
  • +
  • When switching to normal mode screen will stay in same position (#808)
  • Update of contour.desktop file (#1423)
  • Changed configuration entry values for `font_locator` down to `native` and `mock` only (#1538).
  • Fixes forwarding of input while in normal mode (#1468)
  • diff --git a/src/vtbackend/ViCommands.cpp b/src/vtbackend/ViCommands.cpp index 392b059b04..bf4e7d698d 100644 --- a/src/vtbackend/ViCommands.cpp +++ b/src/vtbackend/ViCommands.cpp @@ -252,6 +252,7 @@ void ViCommands::modeChanged(ViMode mode) _terminal->clearSelection(); _terminal->pushStatusDisplay(StatusDisplayType::Indicator); _terminal->screenUpdated(); + _terminal->viewport().makeVisibleWithinSafeArea(LineOffset { 0 }); break; case ViMode::Visual: _terminal->setSelector(make_unique(