Closed haunt98 closed 5 months ago
Seeing the same thing.
Confirmed.
Workarounds for now is to either downgrade (as you did) or drop -quit-if-one-screen
.
Fixed in v1.24.2, just made a new release: https://github.com/walles/moar/releases/tag/v1.24.2
Thank @walles for your fast response! Thank for the good tool again!
Unfortunately that didn't work for me.
$ git show
Please post the following report at <https://github.com/walles/moar/issues>,
or e-mail it to johan.walles@gmail.com.
Version: v1.24.2
LANG : en_US.UTF-8
TERM : wezterm
GOOS : darwin
GOARCH : arm64
Compiler: gc
NumCPU : 10
panic: write /dev/stdout: file already closed [recovered]
panic: write /dev/stdout: file already closed
goroutine 1 [running]:
main.main.func1()
github.com/walles/moar/moar.go:793 +0x150
panic({0x104f179e0?, 0x140003fd410?})
runtime/panic.go:770 +0x124
github.com/walles/moar/twin.(*UnixScreen).write(...)
github.com/walles/moar/twin/screen.go:198
github.com/walles/moar/twin.(*UnixScreen).showNLines(0x140001597a0, 0x12, 0x48?)
github.com/walles/moar/twin/screen.go:720 +0x2fc
github.com/walles/moar/twin.(*UnixScreen).ShowNLines(0x140001597a0?, 0x104f46e50?)
github.com/walles/moar/twin/screen.go:687 +0x20
github.com/walles/moar/m.(*Pager).ReprintAfterExit(0x14000496000)
github.com/walles/moar/m/pager.go:472 +0x64
main.startPaging.func1()
github.com/walles/moar/moar.go:851 +0x50
main.startPaging(0x14000010160?, {0x104f4a0b8?, 0x140001597a0?}, 0x104f45d88?, 0x14000030001?)
github.com/walles/moar/moar.go:866 +0x6c
main.main()
github.com/walles/moar/moar.go:818 +0x234
Can you try this release?
That works.
Thanks for the confirmation @dsully!
I use
git diff -w
with moar config in~/.zshrc
Dowgrade to
v1.23.5
work fine