We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Font causes acme to crash when changing from a fixed font to a variable width font.
Font
`panic: fixi
goroutine 13 [running]: 9fans.net/go/cmd/acme/internal/adraw.FindFont(0x7c?, 0x0?, 0x0?, {0x140000d8060?, 0x1f?}) /usr/local/plan9/go/cmd/acme/internal/adraw/font.go:31 +0x66c 9fans.net/go/cmd/acme/internal/ui.Fontx(0x140007f4000?, 0x1f?, 0x140007f4000?, 0x24?, 0x0?, {0x140007f4014?, 0x24?, 0x24?}) /usr/local/plan9/go/cmd/acme/internal/ui/arg.go:71 +0x340 9fans.net/go/cmd/acme/internal/exec.Execute(0x14000b34010, 0x24, 0x24, 0x0, 0x0?) /usr/local/plan9/go/cmd/acme/internal/exec/exec.go:221 +0x930 main.mousethread() /usr/local/plan9/go/cmd/acme/acme.go:568 +0xc80 created by main.main /usr/local/plan9/go/cmd/acme/acme.go:218 +0xf80`
The text was updated successfully, but these errors were encountered:
I think I have a fix for this in my repo. pedramos/9fans@90248db
Or the patch version: https://github.com/pedramos/9fans/commit/90248db1713143f03cc4dbcb40f3d1a05115e9e8.patch
I don't know if the code is any good but it does seem to work in my machine.
Sorry, something went wrong.
No branches or pull requests
Using
Font
causes acme to crash when changing from a fixed font to a variable width font.`panic: fixi
goroutine 13 [running]:
9fans.net/go/cmd/acme/internal/adraw.FindFont(0x7c?, 0x0?, 0x0?, {0x140000d8060?, 0x1f?})
/usr/local/plan9/go/cmd/acme/internal/adraw/font.go:31 +0x66c
9fans.net/go/cmd/acme/internal/ui.Fontx(0x140007f4000?, 0x1f?, 0x140007f4000?, 0x24?, 0x0?, {0x140007f4014?, 0x24?, 0x24?})
/usr/local/plan9/go/cmd/acme/internal/ui/arg.go:71 +0x340
9fans.net/go/cmd/acme/internal/exec.Execute(0x14000b34010, 0x24, 0x24, 0x0, 0x0?)
/usr/local/plan9/go/cmd/acme/internal/exec/exec.go:221 +0x930
main.mousethread()
/usr/local/plan9/go/cmd/acme/acme.go:568 +0xc80
created by main.main
/usr/local/plan9/go/cmd/acme/acme.go:218 +0xf80`
The text was updated successfully, but these errors were encountered: