Skip to content

Commit

Permalink
Handle Windows backspace (Resolves #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsheep committed Feb 5, 2022
1 parent acb23a9 commit 65cbef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ var rootCmd = &cobra.Command{
newSelectedHost += 1
case "<Up>":
newSelectedHost -= 1
case "<Backspace>":
case "<Backspace>", "<C-<Backspace>>":
if len(search) > 0 {
search = search[:len(search)-1]
}
Expand Down

0 comments on commit 65cbef6

Please sign in to comment.