~taiite/senpai

88663c159cc177ece6f88dd605458bac27327b24 — Hubert Hirtz 9 months ago 2dd34ad
Print the topic after the first batch of history

The topic is the first line we put in a buffer, so we have to place the
first batch of history *before* the topic, instead of after.
1 files changed, 1 insertions(+), 1 deletions(-)

M app.go
M app.go => app.go +1 -1
@@ 767,7 767,7 @@ func (app *App) handleIRCEvent(netID string, ev interface{}) {
						linesAfter = append(linesAfter, line)
					}
				} else {
					linesAfter = append(linesAfter, line)
					linesBefore = append(linesBefore, line)
				}
			}
		}