Skip to content

Commit

Permalink
Added grey/gray color aliases. Fixed kludges appearance. Added kludge…
Browse files Browse the repository at this point in the history
…s hotkey switch in help
  • Loading branch information
lamskoy authored and askovpen committed Aug 24, 2024
1 parent 70d0d3a commit ccf770b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/ui/editor/colorscheme.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func StringToColor(str string) tcell.Color {
return tcell.ColorTeal
case "white":
return tcell.ColorSilver
case "brightblack", "lightblack":
case "brightblack", "lightblack", "grey", "gray":
return tcell.ColorGray
case "brightred", "lightred":
return tcell.ColorRed
Expand Down
2 changes: 1 addition & 1 deletion pkg/ui/editor/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (v *View) OpenBuffer(buf *Buffer) {
color-link origin "bold white"
color-link tearline "bold white"
color-link tagline "bold white"
color-link kludge "bold black"
color-link kludge "bold gray"
`))
}

Expand Down
3 changes: 2 additions & 1 deletion pkg/ui/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,13 @@ Ins, Ctrl-I Enter a new message
Del Delete current/marked message(s), ask first
Right/Left Next/Previous message
Home/End Display first/last part of current message
</> Go to First/Last mesage
</> Go to First/Last message
Ctrl-G Go to message number
F3, Ctrl-Q Quote-Reply to message. (Reply to FROM name)
Ctrl-N Quote-Reply in another area
Ctrl-L Enter the Message Lister
Ctrl-F Forward message to another area
Alt-K Show Kludges
`).
SetDoneFunc(func() {
a.Pages.HidePage("ViewMsgHelp")
Expand Down

0 comments on commit ccf770b

Please sign in to comment.