Skip to content

Commit

Permalink
Improve an error status message
Browse files Browse the repository at this point in the history
  • Loading branch information
xyproto committed Sep 2, 2024
1 parent 21d2ac6 commit aca88f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/keyloop.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ func Loop(tty *vt100.TTY, fnord FilenameOrData, lineNumber LineNumber, colNumber
if digraphString, ok := e.UserInput(c, tty, status, "Type in a 2-letter digraph", "", digraph.All(), false, tabInputText); ok {
if r, ok := digraph.Lookup(digraphString); !ok {
status.ClearAll(c)
status.SetErrorMessage("Could not find the " + digraphString + " digraph")
status.SetErrorMessage(fmt.Sprintf("Could not find the %q digraph", digraphString))
status.ShowNoTimeout(c, e)
} else {
undo.Snapshot(e)
Expand Down

0 comments on commit aca88f4

Please sign in to comment.