diff options
| author | citrons <citrons@mondecitronne.com> | 2025-06-09 16:16:10 -0500 |
|---|---|---|
| committer | citrons <citrons@mondecitronne.com> | 2025-06-09 16:16:10 -0500 |
| commit | a8d217cd6560a60bb3dbbbf09f2eac9b93015a20 (patch) | |
| tree | 49b83007f8fbf88787f2c3b96bb30647e1d09b70 /client | |
| parent | 462331590c8929bc2f1eb6266c701ff319dd38c3 (diff) | |
push channels messages sent in to history
Diffstat (limited to 'client')
| -rw-r--r-- | client/channel_window.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/channel_window.go b/client/channel_window.go index 0e16af2..8c7e325 100644 --- a/client/channel_window.go +++ b/client/channel_window.go @@ -136,9 +136,9 @@ func (cw *channelWindow) Send(text string) { cw.In.SetText("") if cw.location.jumpTo == "" { cw.Buf.ScrollBottom() - } else { - globalApp.goTo(channelLocation {id: cw.location.id}) } + // twofold: push to front of history, navigate back to non-history view + globalApp.goTo(channelLocation {id: cw.location.id}) } func (cw *channelWindow) replyTo(id string) { |
