mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 08:50:25 +01:00
Fixes remaining wide runes render issues.
This commit is contained in:
@@ -159,8 +159,10 @@ namespace Terminal.Gui.Views {
|
||||
}
|
||||
|
||||
// Remove unnecessary empty lines
|
||||
for (int r = lines.Count - 1; r > h - 1; r--) {
|
||||
lines.RemoveAt (r);
|
||||
if (lines.Count > 0) {
|
||||
for (int r = lines.Count - 1; r > h - 1; r--) {
|
||||
lines.RemoveAt (r);
|
||||
}
|
||||
}
|
||||
|
||||
// Remove trailing whitespace on each line
|
||||
|
||||
Reference in New Issue
Block a user