Ticket created by ~steamyalt on ~delthas/senpai
I have both channel and member lists enabled in my config. When shrinking the window so that there is no more space for the actual chat itself, the client crashes with:
panic: runtime error: integer divide by zero goroutine 1 [running]: git.sr.ht/~taiite/senpai/ui.(*Line).NewLines(0xc000fc9360, 0x0) git.sr.ht/~taiite/senpai/ui/buffers.go:150 +0x856 git.sr.ht/~taiite/senpai/ui.(*BufferList).DrawTimeline(0xc000082ef8, {0x555d16e1b580, 0xc000092240}, 0x10, 0x0, 0xa) git.sr.ht/~taiite/senpai/ui/buffers.go:581 +0x48f git.sr.ht/~taiite/senpai/ui.(*UI).Draw(0xc000082ea0, {0xc00059c000, 0x2fa, 0x2fa}) git.sr.ht/~taiite/senpai/ui/ui.go:341 +0xef git.sr.ht/~taiite/senpai.(*App).eventLoop(0xc0006fc000) git.sr.ht/~taiite/senpai/app.go:230 +0x329 git.sr.ht/~taiite/senpai.(*App).Run(0xc0006fc000) git.sr.ht/~taiite/senpai/app.go:167 +0x139 main.main() git.sr.ht/~taiite/senpai/cmd/senpai/main.go:60 +0x53c
Ticket created by ~steamyalt on ~taiite/senpai
I have both channel and member lists enabled in my config. When shrinking the window so that there is no more space for the actual chat itself, the client crashes with:
panic: runtime error: integer divide by zero goroutine 1 [running]: git.sr.ht/~taiite/senpai/ui.(*Line).NewLines(0xc000fc9360, 0x0) git.sr.ht/~taiite/senpai/ui/buffers.go:150 +0x856 git.sr.ht/~taiite/senpai/ui.(*BufferList).DrawTimeline(0xc000082ef8, {0x555d16e1b580, 0xc000092240}, 0x10, 0x0, 0xa) git.sr.ht/~taiite/senpai/ui/buffers.go:581 +0x48f git.sr.ht/~taiite/senpai/ui.(*UI).Draw(0xc000082ea0, {0xc00059c000, 0x2fa, 0x2fa}) git.sr.ht/~taiite/senpai/ui/ui.go:341 +0xef git.sr.ht/~taiite/senpai.(*App).eventLoop(0xc0006fc000) git.sr.ht/~taiite/senpai/app.go:230 +0x329 git.sr.ht/~taiite/senpai.(*App).Run(0xc0006fc000) git.sr.ht/~taiite/senpai/app.go:167 +0x139 main.main() git.sr.ht/~taiite/senpai/cmd/senpai/main.go:60 +0x53c
Comment by ~steamyalt on ~delthas/senpai
Nevermind, I noticed that pressing the "Shift" key fixes this issue. Is this documented anywhere?
Comment by ~steamyalt on ~taiite/senpai
Nevermind, I noticed that pressing the "Shift" key fixes this issue. Is this documented anywhere?
Ticket created by ~steamyalt on ~delthas/senpai
At the moment, enabling mouse support seems to disable the ability to copy-paste text or click any links. Without this, mouse support is a bit of a trade-off.
Ticket created by ~steamyalt on ~taiite/senpai
At the moment, enabling mouse support seems to disable the ability to copy-paste text or click any links. Without this, mouse support is a bit of a trade-off.
Comment by ~steamyalt on ~delthas/senpai
I'm also interested in this, the ability to manually arrange channels and having their order persists would be appreciated as well.
Comment by ~steamyalt on ~taiite/senpai
I'm also interested in this, the ability to manually arrange channels and having their order persists would be appreciated as well.