Merge pull request #3500 from BDisp/v1_2897-listwrapper-source-workaround

v1 Fixes #2897. ListView ListWrapper - marking does work if you give an IList which in which the count changes
This commit is contained in:
Tig
2024-06-08 21:09:14 -06:00
committed by GitHub
2 changed files with 40 additions and 14 deletions

View File

@@ -300,16 +300,16 @@ namespace Terminal.Gui.ViewTests {
Assert.Equal (19, lv.SelectedItem);
TestHelpers.AssertDriverContentsWithFrameAre (@"
┌──────────┐
│Line10 │
│Line11 │
│Line12 │
│Line13 │
│Line14 │
│Line15 │
│Line16 │
│Line17 │
│Line18 │
│Line19 │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────┘", output);
Assert.True (lv.ScrollUp (20));