Add selection ability and cursor movement

This commit is contained in:
2023-02-11 21:58:36 -08:00
parent 2e01847d63
commit c890907cee
3 changed files with 83 additions and 10 deletions

View File

@@ -19,6 +19,10 @@ func NewCommit(Author, Message, Repo, Path string, Added, Deleted, FilesChanged
return ci
}
func (yf Freq) StringSelected(selected int) string {
return gterm.GetYearUnicodeSelected(yf, selected)
}
func (yf Freq) String() string {
return gterm.GetYearUnicode(yf)
}