Selaa lähdekoodia

feat: change default reply indicator

ayn2op 11 kuukautta sitten
vanhempi
sitoutus
c648894eee
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      cmd/messages_text.go
  2. 1 1
      internal/config/theme.go

+ 1 - 1
cmd/messages_text.go

@@ -183,7 +183,7 @@ func (mt *MessagesText) createDefaultMsg(msg discord.Message) {
 
 func (mt *MessagesText) createReplyMsg(msg discord.Message) {
 	// reply
-	fmt.Fprintf(mt, "[::d]%s", mt.cfg.Theme.MessagesText.ReplyIndicator)
+	fmt.Fprintf(mt, "[::d]%s ", mt.cfg.Theme.MessagesText.ReplyIndicator)
 	mt.drawAuthor(*msg.ReferencedMessage)
 	mt.drawContent(*msg.ReferencedMessage)
 	io.WriteString(mt, tview.NewLine)

+ 1 - 1
internal/config/theme.go

@@ -98,7 +98,7 @@ func defaultTheme() Theme {
 			ShowNicknames:      true,
 			ShowUsernameColors: true,
 
-			ReplyIndicator: string(tview.BoxDrawingsLightArcDownAndRight) + " ",
+			ReplyIndicator: ">",
 
 			AuthorColor:     "aqua",
 			ContentColor:    tview.Styles.PrimaryTextColor.String(),