Skip to content

Commit

Permalink
[vtbackend] Fixes statusline being misplaced after resize when being …
Browse files Browse the repository at this point in the history
…in alt screen (#1091)

Signed-off-by: Christian Parpart <christian@parpart.family>
  • Loading branch information
christianparpart committed May 12, 2023
1 parent c8c16d3 commit bed04e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
<li>Fixes cycling between different selection modes (by speed-clicking) not properly working.</li>
<li>Fixes tcsh shell integration not working (#1074).</li>
<li>Fixes `[count]w` ignoring the `[count]` parameter in modal mode.</li>
<li>Fixes statusline being misplaced after resize when being in alt screen (#1091).<li>
<li>Improves mouse selection to be more natural extending into new grid cells.</li>
<li>Adds `profiles.*.permissions.display_host_writable_statusline` to allow the user to intervene in `DECSSDT 2` VT sequence to show the host writable statusline.</li>
<li>Adds config entry `input_method_editor` colorscheme key to allow customization of the IME (input method editor) region (#1058).</li>
Expand Down
2 changes: 1 addition & 1 deletion src/vtbackend/Terminal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ void Terminal::fillRenderBufferInternal(RenderBuffer& output, bool includeSelect

if (_settings.statusDisplayPosition == StatusDisplayPosition::Bottom)
{
baseLine += _primaryScreen.pageSize().lines.as<LineOffset>();
baseLine += pageSize().lines.as<LineOffset>();
fillRenderBufferStatusLine(output, includeSelection, baseLine);
}
}
Expand Down

0 comments on commit bed04e6

Please sign in to comment.