mirror of
https://github.com/charmbracelet/glow
synced 2024-12-13 21:52:37 +00:00
Let's try an an emoji for the news header
This commit is contained in:
parent
c4230ca3d9
commit
b50614c64c
3 changed files with 3 additions and 1 deletions
|
@ -4,4 +4,5 @@ package ui
|
|||
|
||||
const (
|
||||
pagerStashIcon = "🔒"
|
||||
newsIcon = "⚡️"
|
||||
)
|
||||
|
|
|
@ -4,4 +4,5 @@ package ui
|
|||
|
||||
const (
|
||||
pagerStashIcon = "•"
|
||||
newsIcon = ""
|
||||
)
|
||||
|
|
|
@ -968,7 +968,7 @@ func (m stashModel) view() string {
|
|||
if m.isFiltering() {
|
||||
logoOrFilter = m.filterInput.View()
|
||||
} else if m.docState == stashShowNewsDocs {
|
||||
logoOrFilter += newsTitleStyle(" News ")
|
||||
logoOrFilter += newsTitleStyle(" News ") + " " + newsIcon
|
||||
}
|
||||
|
||||
var pagination string
|
||||
|
|
Loading…
Reference in a new issue