Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
6af1903
Fixed #58: Multi-line commands rendering wrong
tig Mar 11, 2020
a69373e
Fixed #58 - Newlines in commands render incorrectly
tig Mar 11, 2020
f155262
Added debug instructions to readme
tig Mar 11, 2020
440833e
Update src/Microsoft.PowerShell.ConsoleGuiTools/ConsoleGui.cs
tig Mar 11, 2020
dd2e765
simplified stripping of newline/linefeed
tig Mar 12, 2020
e66f614
Merge branch 'master' of tig:tig/GraphicalTools
tig Mar 14, 2020
ebcb92f
Merge branch 'master' of tig:PowerShell/GraphicalTools
tig Apr 12, 2020
dce01c8
Merge branch 'master' of tig:PowerShell/GraphicalTools
tig Apr 17, 2020
a2c0238
Merge branch 'master' of tig:PowerShell/GraphicalTools
tig Apr 19, 2020
2184386
Merge branch 'master' of tig:PowerShell/GraphicalTools
tig Apr 19, 2020
668c5c5
Merge branch 'master' of tig:PowerShell/GraphicalTools
tig Apr 20, 2020
9d2c85a
Merge branch 'master' of tig:tig/GraphicalTools
tig May 13, 2020
d15fb38
Merge branch 'master' of tig:PowerShell/GraphicalTools
tig Aug 24, 2020
49b9559
Merge branch 'master' of tig:tig/GraphicalTools into master
tig Sep 25, 2020
4175dc0
Merge branch 'master' of tig:PowerShell/GraphicalTools into master
tig Sep 27, 2020
53b1203
Merge branch 'master' of tig:PowerShell/GraphicalTools into master
tig Sep 27, 2020
941cef7
Merge branch 'master' of tig:PowerShell/GraphicalTools into master
tig Sep 29, 2020
06c8a1f
Merge branch 'master' of tig:PowerShell/GraphicalTools into master
tig Sep 29, 2020
869b578
Merge branch 'master' of tig:PowerShell/GraphicalTools into master
tig Sep 29, 2020
1137d7d
Merge branch 'master' of tig:PowerShell/GraphicalTools into master
tig Oct 3, 2020
e965afd
Merge branch 'master' of tig:PowerShell/GraphicalTools into master
tig Oct 3, 2020
4188094
Merge branch 'master' of tig:PowerShell/GraphicalTools into master
tig Oct 5, 2020
797de5e
Merge branch 'master' of tig:tig/GraphicalTools into master
tig Oct 11, 2020
be4bea2
Merge branch 'master' of tig:PowerShell/GraphicalTools
tig Oct 21, 2020
85d8578
Merge branch 'master' of tig:tig/GraphicalTools
tig Oct 21, 2020
a03fc9b
Merge branch 'master' of tig:PowerShell/GraphicalTools
tig Nov 18, 2020
7eb9189
Merge branch 'master' of tig:PowerShell/GraphicalTools
tig Mar 9, 2021
806d974
Updated build deps and dealt with breaking change in api
tig Mar 9, 2021
317842c
updated to latest terminal.gui package
tig Apr 1, 2021
7a6965a
updated to Terminal.Gui 1.0.0-rc.11
tig Apr 27, 2021
29a0d72
Update NuGet.config (#130)
TylerLeonhardt Dec 1, 2020
7f801bd
move to compliance repo (#128)
TylerLeonhardt Dec 21, 2020
a91750e
disable mouse tracking when ocgv closes (#135)
TylerLeonhardt Mar 4, 2021
869f688
Updated build deps and dealt with breaking change in api
tig Mar 9, 2021
cd760a3
updated to latest terminal.gui package
tig Apr 1, 2021
ae01241
updated to Terminal.Gui 1.0.0-rc.11
tig Apr 27, 2021
97483a3
Merge branch 'fix_140_terminalgui_1.0' of tig:tig/GraphicalTools into…
tig Apr 27, 2021
645614e
Updated to Terminal.Gui 1.0!
tig Apr 28, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ public GridViewDataSource(List<GridViewRow> itemList)
GridViewRowList = itemList;
}

public bool IsMarked(int item) => GridViewRowList[item].IsMarked;
public int Length { get; }

public void Render(ListView container, ConsoleDriver driver, bool selected, int item, int col, int line, int width)
public void Render(ListView container, ConsoleDriver driver, bool selected, int item, int col, int line, int width, int start)
{
container.Move(col, line);
RenderUstr(driver, GridViewRowList[item].DisplayString, col, line, width);
}

public bool IsMarked(int item) => GridViewRowList[item].IsMarked;

public void SetMark(int item, bool value)
{
GridViewRowList[item].IsMarked = value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nstack.Core" Version="0.14.0" />
<PackageReference Include="Terminal.Gui" Version="0.90.3" />
<PackageReference Include="Nstack.Core" Version="0.16.0" />
<PackageReference Include="Terminal.Gui" Version="1.0" />
<PackageReference Include="Microsoft.PowerShell.SDK" Version="6.2.1" />
</ItemGroup>

Expand Down