Skip to content

Commit

Permalink
Merge pull request #1095 from contour-terminal/fix/1091
Browse files Browse the repository at this point in the history
Fixes statusline being misplaced after resize when being in alt screen
  • Loading branch information
christianparpart authored May 12, 2023
2 parents c8c16d3 + 56db0cb commit 6a6bfc0
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 6a6bfc0

Please sign in to comment.