mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
WIP
This commit is contained in:
parent
4a30de5d51
commit
72ebf8e69c
@ -60,6 +60,7 @@ func (widget *Widget) editItem() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: Remove all this duplication
|
||||||
_, _, w, h := widget.View.GetInnerRect()
|
_, _, w, h := widget.View.GetInnerRect()
|
||||||
|
|
||||||
form := tview.NewForm().
|
form := tview.NewForm().
|
||||||
@ -94,6 +95,7 @@ func (widget *Widget) editItem() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (widget *Widget) newItem() {
|
func (widget *Widget) newItem() {
|
||||||
|
// FIXME: Remove all this duplication
|
||||||
_, _, w, h := widget.View.GetInnerRect()
|
_, _, w, h := widget.View.GetInnerRect()
|
||||||
|
|
||||||
form := tview.NewForm().
|
form := tview.NewForm().
|
||||||
|
Loading…
x
Reference in New Issue
Block a user