mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Improves the speed of the help modal display
This commit is contained in:
parent
e5a66edf61
commit
00abe70309
@ -183,4 +183,5 @@ func (widget *Widget) showHelp() {
|
|||||||
|
|
||||||
widget.pages.AddPage("help", modal, false, true)
|
widget.pages.AddPage("help", modal, false, true)
|
||||||
widget.app.SetFocus(modal)
|
widget.app.SetFocus(modal)
|
||||||
|
widget.app.Draw()
|
||||||
}
|
}
|
||||||
|
@ -211,4 +211,5 @@ func (widget *Widget) showHelp() {
|
|||||||
|
|
||||||
widget.pages.AddPage("help", modal, false, true)
|
widget.pages.AddPage("help", modal, false, true)
|
||||||
widget.app.SetFocus(modal)
|
widget.app.SetFocus(modal)
|
||||||
|
widget.app.Draw()
|
||||||
}
|
}
|
||||||
|
@ -136,4 +136,5 @@ func (widget *Widget) showHelp() {
|
|||||||
|
|
||||||
widget.pages.AddPage("help", modal, false, true)
|
widget.pages.AddPage("help", modal, false, true)
|
||||||
widget.app.SetFocus(modal)
|
widget.app.SetFocus(modal)
|
||||||
|
widget.app.Draw()
|
||||||
}
|
}
|
||||||
|
@ -156,4 +156,5 @@ func (widget *Widget) showHelp() {
|
|||||||
|
|
||||||
widget.pages.AddPage("help", modal, false, true)
|
widget.pages.AddPage("help", modal, false, true)
|
||||||
widget.app.SetFocus(modal)
|
widget.app.SetFocus(modal)
|
||||||
|
widget.app.Draw()
|
||||||
}
|
}
|
||||||
|
@ -221,4 +221,5 @@ func (widget *Widget) showHelp() {
|
|||||||
|
|
||||||
widget.pages.AddPage("help", modal, false, true)
|
widget.pages.AddPage("help", modal, false, true)
|
||||||
widget.app.SetFocus(modal)
|
widget.app.SetFocus(modal)
|
||||||
|
widget.app.Draw()
|
||||||
}
|
}
|
||||||
|
@ -175,4 +175,5 @@ func (widget *Widget) showHelp() {
|
|||||||
|
|
||||||
widget.pages.AddPage("help", modal, false, true)
|
widget.pages.AddPage("help", modal, false, true)
|
||||||
widget.app.SetFocus(modal)
|
widget.app.SetFocus(modal)
|
||||||
|
widget.app.Draw()
|
||||||
}
|
}
|
||||||
|
@ -232,6 +232,7 @@ func (widget *Widget) showHelp() {
|
|||||||
|
|
||||||
widget.pages.AddPage("help", modal, false, true)
|
widget.pages.AddPage("help", modal, false, true)
|
||||||
widget.app.SetFocus(modal)
|
widget.app.SetFocus(modal)
|
||||||
|
widget.app.Draw()
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------- Modal Form -------------------- */
|
/* -------------------- Modal Form -------------------- */
|
||||||
|
@ -198,6 +198,7 @@ func (widget *Widget) showHelp() {
|
|||||||
|
|
||||||
widget.pages.AddPage("help", modal, false, true)
|
widget.pages.AddPage("help", modal, false, true)
|
||||||
widget.app.SetFocus(modal)
|
widget.app.SetFocus(modal)
|
||||||
|
widget.app.Draw()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *Widget) vimBindings(event *tcell.EventKey) tcell.Key {
|
func (w *Widget) vimBindings(event *tcell.EventKey) tcell.Key {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user