Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
cd8e4ea
WIP try to build
Dec 14, 2025
8d8ae3b
WIP remove modal true and LineRune
Dec 14, 2025
387d1e3
WIP deal with more breaking changes
Dec 14, 2025
a873eca
Most stuff thats not menu building
Dec 14, 2025
c6fb1c5
Can boot main app
Dec 14, 2025
6d7bbd2
app for everyone
Dec 14, 2025
9fd82d1
App for everyone
Dec 14, 2025
b283a63
Switch to app instance
Dec 14, 2025
b0bbccf
remove app instance references
Dec 14, 2025
47f8d32
Add app as parameter, see https://github.com/gui-cs/Terminal.Gui/issu…
Dec 14, 2025
d75fc53
Handle the renaming of Toplevel to Runnable better
Dec 14, 2025
0bbae90
Workaround for https://github.com/gui-cs/Terminal.Gui/issues/4488
Dec 15, 2025
19d4112
WIP add app for more people
Dec 15, 2025
e7942ad
App for everyone
Dec 15, 2025
66bec1d
App for tests too
Dec 15, 2025
a1043eb
App for everyone
Dec 15, 2025
5d481a6
App for everyone
Dec 16, 2025
6998d21
Building main project
Jan 18, 2026
7c981ee
Fix startup and Enter crashing
Jan 18, 2026
bff2df6
Fix default button for right click
Jan 18, 2026
b98434f
Try to fix menus in showcase and set workflow file to dotnet 10
Jan 18, 2026
b940920
Work on tests, exclude all menu ones and use fake driver not moq
Jan 21, 2026
94895d7
Apps for everyone
Jan 21, 2026
1281b97
Tests building
Jan 21, 2026
cd45660
Switch back to static for Pos test case datas
Jan 21, 2026
67ed517
Mark various views not supported
Jan 21, 2026
7121fdf
Fix key map to use new enum name
Jan 25, 2026
20f33b2
Back to broken again targetting 4881
Jan 25, 2026
fe08dd0
Compilation fixes
Jan 25, 2026
5e078ab
Rename Result to ActualResult to not collide with new class member in…
Jan 25, 2026
174aa09
Remove line orientation change code as it already happens in Terminal…
Jan 27, 2026
c9cd64b
Support emitting code for IReadOnlyList properties
Jan 27, 2026
05667d4
Add tests for type extensions
Jan 27, 2026
7a74430
Fix linear range codegen
Jan 27, 2026
4d25f9d
Update test, currently failing due to https://github.com/gui-cs/Termi…
Jan 27, 2026
929a807
Fix DefaultMenuBarItems_IsExactlyAsExpected
Jan 28, 2026
c43bec8
Bump version and fix codegen for IReadOnlyCollection<string> properties
Jan 29, 2026
418608c
Fix rune tests by targetting actual designable property of type Rune
Jan 29, 2026
1771c90
Compiling on 5090
Feb 28, 2026
ad698bb
WIP - Update to latest package, building
Mar 29, 2026
ac6a0a8
Make clicking Button nicer and suppress native hover behaviours
Mar 30, 2026
463d76e
Nullable enum support in ValueFactory GetNewValue
Mar 30, 2026
e09aa54
Fixes for shadow style, new unsupported types etc
Mar 30, 2026
b7b17cb
Fix adornment detection
Mar 31, 2026
b481425
Fix subclasses of TextValidateField (TimeEditor and DateEditor) getti…
Mar 31, 2026
9584c16
Fix test
Mar 31, 2026
3cfbe96
Workaround for root menu event and fixes for Enum and string property…
Apr 1, 2026
bcd4f10
Add MenuTracker.GetFocusedMenuItemIfAny(app)
Apr 1, 2026
e36eca7
Switch to popover detection for MenuTracker usages
Apr 1, 2026
f7538c3
Fix MenuBar editing to focus newly created menu items
Apr 1, 2026
4e0a737
MenuBar only needs 1 placeholder 'Edit Me' item
Apr 1, 2026
0b62c2b
Switch to v2 syntax
Apr 2, 2026
7f3e6ff
Work towards working MenuBar code gen
Apr 2, 2026
ce8fb50
Use iterative calls to Add instead of Menus setter
Apr 2, 2026
c689079
Fix MenuBar for new APIs, works for first level menus
Apr 3, 2026
a551188
Simplify menu item creation
Apr 9, 2026
9a80397
Fix menu item to code
Apr 9, 2026
d4b2782
Prevent user editing the main right click context menu as if it were …
Apr 9, 2026
47ef9eb
Test fixes
Apr 11, 2026
1211590
Fix for BorderView now being Adornment
Apr 11, 2026
3a091bc
Target 5217 as the last release before TabView was removed in https:/…
Apr 11, 2026
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
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'

- name: Build
run: cd src && dotnet build
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

.claude

# Mono auto generated files
mono_crash.*

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,12 @@ italics are experimental and require passing the `-e` flag when starting applica
- [x] GraphView
- [x] HexView
- [x] Label
- [x] LineView
- [x] Line
- [x] ListView
- [x] MenuBar
- [ ] Copy/Paste preserve menu entries
- [x] ProgressBar
- [x] RadioGroup
- [x] OptionSelector
- [ ] [SplitContainer](https://github.com/gui-cs/Terminal.Gui/pull/2258) (Unreleased)
- [ ] Copy/Paste preserve split content panels
- [x] StatusBar
Expand Down
239 changes: 45 additions & 194 deletions Showcase/Menus.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Showcase/Menus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// You can make changes to this file and they will not be overwritten when saving.
// </auto-generated>
// -----------------------------------------------------------------------------
namespace Showcase {
namespace Showcase{
using Terminal.Gui;


Expand Down
44 changes: 4 additions & 40 deletions Showcase/Program.cs
Original file line number Diff line number Diff line change
@@ -1,51 +1,15 @@
using System.Collections.ObjectModel;
using System.Runtime.InteropServices.ComTypes;
using Terminal.Gui;
using Terminal.Gui.App;
using Terminal.Gui.Drivers;
using Terminal.Gui.ViewBase;
using Terminal.Gui.Views;
using Terminal.Gui.App;

namespace Showcase
{
internal class Program
{
private static Type[] views = new[]
{
typeof(Menus),
typeof(Tabs)

};
static void Main(string[] args)
{
Application.Init();

var w = new Window()
{
Title = "Showcase"
};

var lv = new ListView()
{
Width = Dim.Fill(),
Height = Dim.Fill(),
};
w.Add(lv);
lv.SetSource(new ObservableCollection<Type>(views));


lv.KeyDown += (_, e) =>
using(var app = Application.Create())
{
if (e.KeyCode == KeyCode.Enter)
{
var v = (Toplevel)Activator.CreateInstance(views[lv.SelectedItem]);
e.Handled = true;
Application.Run(v);
}
};

Application.Run(w);
Application.Shutdown();
app.Run<Menus>();
}
}
}
}
4 changes: 2 additions & 2 deletions Showcase/Showcase.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Terminal.Gui" Version="2.0.0-develop.4519" />
<PackageReference Include="Terminal.Gui" Version="2.0.0-develop.5217 " />
</ItemGroup>

</Project>
Loading
Loading