diff options
author | delthas <delthas@dille.cc> | 2021-07-14 22:33:17 +0200 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtz.pm> | 2021-07-15 09:21:55 +0200 |
commit | b6e7fbf2e3e177ed8f9474152ed1cc419ecaf8b6 (patch) | |
tree | 6c0e72dd0df48f09bab96710204426b5a3f46e2b /ui/editor_test.go | |
parent | Make buffers indexed, and refer to indexes with /BUFFER (diff) |
Fix crash on disconnect
The crash was due to accessing app.s.Nick() when app.s was nil.
This is a good opportunity to print a special prompt when disconnected:
I chose `<offline>`, in red.
Diffstat (limited to 'ui/editor_test.go')
0 files changed, 0 insertions, 0 deletions