From dd872673527d6fa737b070062e52c435e72879d5 Mon Sep 17 00:00:00 2001 From: jchas2 Date: Thu, 6 Aug 2026 18:48:49 +1000 Subject: [PATCH] Fix bottom-right autoscroll --- src/taskmon/Gui/MainScreen.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/taskmon/Gui/MainScreen.cs b/src/taskmon/Gui/MainScreen.cs index 81b38ef..83263b5 100644 --- a/src/taskmon/Gui/MainScreen.cs +++ b/src/taskmon/Gui/MainScreen.cs @@ -181,7 +181,9 @@ protected override void OnResize() footerControl.X = 0; footerControl.Y = Height - FooterHeight; - footerControl.Width = Width; + // Setting Width -1 prevents the auto-scroll when bottom right corner is written to on Windows, + // which can sometimes jump the screen around. + footerControl.Width = Width - 1; footerControl.Height = FooterHeight; base.OnResize();