lib/git_prompt.rb in gnav-0.6.3 vs lib/git_prompt.rb in gnav-0.6.4
- old
+ new
@@ -60,10 +60,10 @@
def display_select(treeish_type, treeishes)
message = prompt.decorate("Select #{treeish_type.to_s.capitalize} > ", :green)
message += <<~MSG.chomp
[b] branch view [t] tag view
- j: down, k: up, q: quit, Enter: choose tag
+ j: down, k: up, q: quit, Enter: choose #{treeish_type}
MSG
if treeishes.size > 0
prompt.select(message, filter: false, per_page: SELECT_OPTIONS_PER_PAGE) do |menu|
treeishes.each do |treeish|