Commit 5795efa
committed
Fixed Select All bug.
Refactored `OnWinSubViewLayout` to add null checks for `_header`
to ensure safety and prevent runtime exceptions. Simplified
"Select All" and "Select None" logic by replacing manual
iteration with `_listView?.MarkAll` calls and added comments
to address a `Terminal.Gui` bug requiring explicit redraws.
Removed default `Ctrl-A` keybinding from `_listView` to allow
custom handling in the status bar. Updated `LangVersion` in
`Microsoft.PowerShell.ConsoleGuiTools.csproj` to `preview` to
enable preview language features. Fixed formatting in the
`ProjectReference` element for consistency.1 parent 8eccca8 commit 5795efa
File tree
2 files changed
+11
-11
lines changed- src/Microsoft.PowerShell.ConsoleGuiTools
2 files changed
+11
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
| 273 | + | |
| 274 | + | |
276 | 275 | | |
277 | 276 | | |
278 | 277 | | |
279 | 278 | | |
280 | 279 | | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
| 280 | + | |
| 281 | + | |
285 | 282 | | |
286 | 283 | | |
287 | 284 | | |
| |||
481 | 478 | | |
482 | 479 | | |
483 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments