mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Fixes the cursor not being showing if the text length is equal to the view width.
This commit is contained in:
@@ -308,7 +308,7 @@ namespace Terminal.Gui {
|
||||
col++;
|
||||
}
|
||||
break;
|
||||
} else if (end < t.Count && col > 0 && start < end && col == start) {
|
||||
} else if ((end < t.Count && col > 0 && start < end && col == start) || (end - col == width - 1)) {
|
||||
break;
|
||||
}
|
||||
col = i;
|
||||
|
||||
@@ -1814,7 +1814,7 @@ namespace Terminal.Gui.Views {
|
||||
col++;
|
||||
}
|
||||
break;
|
||||
} else if (cCol < line.Length && col > 0 && start < cCol && col == start) {
|
||||
} else if ((cCol < line.Length && col > 0 && start < cCol && col == start) || (cCol - col == width - 1)) {
|
||||
break;
|
||||
}
|
||||
col = i;
|
||||
|
||||
Reference in New Issue
Block a user