1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

Support strikethrough text style

This commit is contained in:
Jesse Duffield
2023-05-21 10:45:45 +10:00
parent 2e0d0a92ee
commit 820f7b9404
4 changed files with 26 additions and 4 deletions

View File

@ -17,6 +17,8 @@ func GetTextStyle(keys []string, background bool) style.TextStyle {
s = s.SetReverse()
case "underline":
s = s.SetUnderline()
case "strikethrough":
s = s.SetStrikethrough()
default:
value, present := style.ColorMap[key]
if present {