forked from External/ergo
Merge pull request #591 from slingamn/history_autoresize.4
autoresizing of history buffers (#349)
This commit is contained in:
commit
7a56c4e0ad
7 changed files with 190 additions and 31 deletions
|
|
@ -232,7 +232,7 @@ func (server *Server) RunClient(conn clientConn) {
|
|||
nickCasefolded: "*",
|
||||
nickMaskString: "*", // * is used until actual nick is given
|
||||
}
|
||||
client.history.Initialize(config.History.ClientLength)
|
||||
client.history.Initialize(config.History.ClientLength, config.History.AutoresizeWindow)
|
||||
client.brbTimer.Initialize(client)
|
||||
session := &Session{
|
||||
client: client,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue