No escape on details view in TUI

This commit is contained in:
kota kanbe
2017-08-23 12:02:58 +09:00
parent 3790197699
commit 58b0d03e28
2 changed files with 2 additions and 6 deletions

View File

@@ -117,16 +117,12 @@ func (p Package) FormatVersionFromTo(notFixedYet bool) string {
if notFixedYet {
to = "Not Fixed Yet"
}
return fmt.Sprintf("%s-%s - %s", p.Name, p.FormatVer(), to)
return fmt.Sprintf("%s-%s -> %s", p.Name, p.FormatVer(), to)
}
// FormatChangelog formats the changelog
func (p Package) FormatChangelog() string {
buf := []string{}
if p.NewVersion == "" {
return ""
}
packVer := fmt.Sprintf("%s-%s -> %s",
p.Name, p.FormatVer(), p.FormatNewVer())
var delim bytes.Buffer