1
0
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:
Chris Cummer 2018-08-01 15:12:05 -07:00
parent e5a66edf61
commit 00abe70309
8 changed files with 8 additions and 0 deletions

View File

@ -183,4 +183,5 @@ func (widget *Widget) showHelp() {
widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}

View File

@ -211,4 +211,5 @@ func (widget *Widget) showHelp() {
widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}

View File

@ -136,4 +136,5 @@ func (widget *Widget) showHelp() {
widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}

View File

@ -156,4 +156,5 @@ func (widget *Widget) showHelp() {
widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}

View File

@ -221,4 +221,5 @@ func (widget *Widget) showHelp() {
widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}

View File

@ -175,4 +175,5 @@ func (widget *Widget) showHelp() {
widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}

View File

@ -232,6 +232,7 @@ func (widget *Widget) showHelp() {
widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}
/* -------------------- Modal Form -------------------- */

View File

@ -198,6 +198,7 @@ func (widget *Widget) showHelp() {
widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}
func (w *Widget) vimBindings(event *tcell.EventKey) tcell.Key {