DieselMeister / Terminal.Gui.Elmish

An elmish wrapper around Miguel de Icaza's 'Gui.cs' https://github.com/migueldeicaza/gui.cs including a fable like view DSL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parameter type of tableView.onCellActivated and tableView.onSelectedCellChanged is wrong

Tangent-90 opened this issue · comments

Description

Parameter type of tableView.onCellActivated is wrong. The function should accept a (Terminal.Gui.TableView.CellActivatedEventArgs -> unit), but currently accepts a (unit -> unit). This will raise a runtime exception.

The situation when calling tableView.onSelectedCellChanged is same.

Expected behavior

Program will run without exception

Actual behavior

An exception will be thrown.

image

image

fix is published. Thanks for finding these error! :D

https://www.nuget.org/packages/Terminal.Gui.Elmish/2.1.172