diff options
| -rw-r--r-- | client/channel_window.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/channel_window.go b/client/channel_window.go index b3788da..a9a403e 100644 --- a/client/channel_window.go +++ b/client/channel_window.go @@ -278,7 +278,11 @@ func (m channelMsg) Show(odd bool) { tui.Push("", tui.Box { Width: tui.TextSize, Height: tui.TextSize, NoWrap: true, }) - tui.Text("<- ", &tui.Style {Fg: tui.BrightBlack, Bg: bg}) + if m.Kind == "join" { + tui.Text("-> ", &tui.Style {Fg: tui.BrightBlack, Bg: bg}) + } else { + tui.Text("<- ", &tui.Style {Fg: tui.BrightBlack, Bg: bg}) + } tui.Text(m.Kind, &tui.Style {Fg: tui.Blue, Bg: bg}) tui.Text(": ", &tui.Style {Fg: tui.BrightBlack, Bg: bg}) tui.Pop() |
