diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-02-23 18:48:50 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | d0805616e410bdf37f42737782cdc309ef1dd17a (patch) | |
tree | 279f3b6f0a6cb57d6a1d37d000af6ef5c23bfe0b /pkg/gui/credentials_panel.go | |
parent | 1a7fe2835c8eadd1303770fafe665f98aca47114 (diff) |
move function
Diffstat (limited to 'pkg/gui/credentials_panel.go')
-rw-r--r-- | pkg/gui/credentials_panel.go | 15 |
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) -} |