Skip to content

Commit

Permalink
fix: view functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Filippo Trotter authored and Filippo Trotter committed Jul 4, 2024
1 parent 1162807 commit d6ddccf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils/tui/modelutils/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (m ModeSelector) View() string {
s += cursor + " " + choice + "\n"
}
}
return s + Paint("silver").Render("\n 'q' to quit 'enter' to modify selected files\n '↑' to go up\n '↓' to go down")
return s + Paint("silver").Render("\n 'q' to quit 'enter' to modify selected files 'esc' to go back\n '↑' to go up\n '↓' to go down")
}

}
2 changes: 1 addition & 1 deletion utils/tui/modelutils/text.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (m LabelInput) View() string {
s += Paint("red").Render("\nError: "+m.Error.Error()) + "\n"
}

s += Paint("silver").Render("\n 'ctrl +c' to quit 'enter' to select the lines/labels indicated\n '↑' to go up\n '↓' to go down")
s += Paint("silver").Render("\n 'ctrl +c' to quit 'enter' to select the lines/labels indicated 'esc' to go back\n '↑' to go up\n '↓' to go down")
return s
}

Expand Down

0 comments on commit d6ddccf

Please sign in to comment.