Skip to content

Update latest v2#320

Merged
tznind merged 101 commits intov2from
update-latest-v2
May 6, 2026
Merged

Update latest v2#320
tznind merged 101 commits intov2from
update-latest-v2

Conversation

@tznind
Copy link
Copy Markdown
Collaborator

@tznind tznind commented Dec 14, 2025

  • Copy paste with Ctrl+C pastes code in due to native console intercept, Undo does not properly revert (BUG: Actually reverts the last operation)
  Console.Write("\x1b[?2004h"); // enable

  // In your input read loop:
  // \x1b[200~ = paste start → buffer following chars
  // \x1b[201~ = paste end   → handle buffered string as paste

  Console.Write("\x1b[?2004l"); // disable on exit

QA

  • Button
  • CheckBox
  • ColorPicker
    • Drag and tab get consumed with vanilla view behaviours
  • ColorPicker16
  • DateEditor
  • DatePicker
  • DropDownList
    • Need to support Source as a designable property
  • FrameView
  • GraphView
  • HexView
  • Label
  • Line
  • LinearRange<T>
    • Support 'LegendAbbr' double width emojis e.g. 🐱
  • Link
  • ListView
  • MenuBar
  • NumericUpDown
  • NumericUpDown<T>
  • OptionSelector
  • ProgressBar
  • SpinnerView
  • TableView
  • TabView (has been deleted in terminal.gui)
  • TextField
  • TextValidateField
  • TextView
  • TimeEditor
    • DateEditor / TimeEditor should expose Format options
  • TreeView
  • TreeView<T>
  • View
  • Window

Breaking Change Notes

  • Mouse button variables renamed
  • AllowsTab and AllowsReturn renamed
  • Mouse position is now nullable
  • Drivers have been renamed (no longer v2 / v2win)
  • Slider is now LinearRange
  • MenuItem for properties now has subitem (All) instead of working by clicking root properties option

Progress

  • Get solution to build
  • Get editor to launch
  • Right click add label to work
  • Set text to work
  • Save and reload to work
    • Hello world label
    • Showcase Menu
    • Showcase Tabs
  • Get tests to build

Blockers

Global Exception
Object reference not set to an instance of an object.
   at Terminal.Gui.Views.SpinnerView.<AddAutoSpinTimeout>b__39_0()
   at Terminal.Gui.App.TimedEvents.RunTimersImpl()
   at Terminal.Gui.App.ApplicationMainLoop`1.IterationImpl()
   at Terminal.Gui.App.MainLoopCoordinator`1.RunIteration()
   at Terminal.Gui.App.ApplicationImpl.RunLoop(IRunnable runnable, Func`2 er
rorHandler)

@tznind tznind marked this pull request as ready for review May 5, 2026 03:06
@tznind
Copy link
Copy Markdown
Collaborator Author

tznind commented May 5, 2026

@tig @BDisp ok this is basically ready for review, I've a few more views to work through (see checklist at top) but everything seems to be working at least as well as the last release which targetted 2.0.0-develop.4538

Check out the PR and kick the tyres.

I've also beefed up the showcase project as I work through QA on the various controls we have.

@tznind tznind merged commit e1682b3 into v2 May 6, 2026
1 check passed
@tznind tznind deleted the update-latest-v2 branch May 6, 2026 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant