summaryrefslogtreecommitdiffstats
path: root/pkg/gui/credentials_panel.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/credentials_panel.go')
-rw-r--r--pkg/gui/credentials_panel.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/pkg/gui/credentials_panel.go b/pkg/gui/credentials_panel.go
index 1277ac8ef..ba654e0eb 100644
--- a/pkg/gui/credentials_panel.go
+++ b/pkg/gui/credentials_panel.go
@@ -5,7 +5,6 @@ import (
"github.com/jesseduffield/lazygit/pkg/commands/oscommands"
"github.com/jesseduffield/lazygit/pkg/gui/types"
- "github.com/jesseduffield/lazygit/pkg/utils"
)
type credentials chan string
@@ -56,17 +55,3 @@ func (gui *Gui) handleCloseCredentialsView() error {
gui.credentials <- ""
return gui.c.PopContext()
}
-
-func (gui *Gui) handleAskFocused() error {
- keybindingConfig := gui.c.UserConfig.Keybinding
-
- message := utils.ResolvePlaceholderString(
- gui.c.Tr.CloseConfirm,
- map[string]string{
- "keyBindClose": gui.getKeyDisplay(keybindingConfig.Universal.Return),
- "keyBindConfirm": gui.getKeyDisplay(keybindingConfig.Universal.Confirm),
- },
- )
-
- return gui.renderString(gui.Views.Options, message)
-}