Skip to content

Commit

Permalink
fixes #716 Improve missing terminal error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Pearson committed Mar 30, 2024
1 parent e656a4a commit ee34ff0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terms_dynamic.go
Expand Up @@ -30,6 +30,9 @@ import (
)

func loadDynamicTerminfo(term string) (*terminfo.Terminfo, error) {
if term == "" {
return nil, ErrTermNotFound
}
ti, _, e := dynamic.LoadTerminfo(term)
if e != nil {
return nil, e
Expand Down

0 comments on commit ee34ff0

Please sign in to comment.