Skip to content

Commit

Permalink
Change cancel select to c instead of esc
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinmclean committed Jan 22, 2024
1 parent c23f4fe commit d07317a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion game/game.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const (

helpStr = `h/j/k/l or ←↓↑→ to move
enter or space to start a selection
esc to cancel selection.
c to cancel selection.
s to select seeds.
f to plant/harvest.
q to quit.
Expand Down
2 changes: 1 addition & 1 deletion game/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (g *game) handleInput(msg tea.KeyMsg) tea.Cmd {
"left", "h",
"right", "l":
g.move(msg)
case "esc":
case "c":
g.stopSelecting()
case "s":
g.showSeedSelect = true
Expand Down

0 comments on commit d07317a

Please sign in to comment.