chore: gofmt

This commit is contained in:
Muhammad Nauman Raza 2024-03-30 12:50:56 +00:00
parent d531888ca8
commit 4dbf1847b6

View file

@ -4,10 +4,10 @@ import (
"fmt"
"os"
"github.com/charmbracelet/bubbles/help"
"github.com/charmbracelet/bubbles/key"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/bubbles/key"
"github.com/charmbracelet/bubbles/help"
"github.com/prometheus-community/pro-bing"
)
@ -20,6 +20,7 @@ var (
type keyMap struct {
Quit key.Binding
}
func (k keyMap) ShortHelp() []key.Binding {
return []key.Binding{k.Quit}
}
@ -28,6 +29,7 @@ func (k keyMap) FullHelp() [][]key.Binding {
{k.Quit},
}
}
var keys = keyMap{
Quit: key.NewBinding(
key.WithKeys("q", "esc", "ctrl+c"),