diff options
-rw-r--r-- | app.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -811,6 +811,12 @@ func (app *App) updatePrompt() { StyleDefault. Foreground(tcell.Color(app.cfg.Colors.Prompt)), ) + } else if app.s == nil { + prompt = ui.Styled("<offline>", + tcell. + StyleDefault. + Foreground(tcell.ColorRed), + ) } else { prompt = identString(app.s.Nick()) } |