Skip to content
New issue

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

Error while trying to use FPrintMsg or PrintMsg #13

Open
Kollabiz opened this issue Mar 10, 2022 · 0 comments
Open

Error while trying to use FPrintMsg or PrintMsg #13

Kollabiz opened this issue Mar 10, 2022 · 0 comments

Comments

@Kollabiz
Copy link

Error:

panic: runtime error: index out of range [16] with length 16

goroutine 1 [running]:
github.com/lukesampson/figlet/figletlib.(*FigText).copy(0xc0001f17a0)
C:/Users/mrtnb/go/pkg/mod/github.com/lukesampson/[email protected]/figletlib/text.go:40 +0x197
github.com/lukesampson/figlet/figletlib.smushChar(0xc00007f9c8, 0xc0001f17a0, 0x1, {0x4, 0x0, 0x0})

    C:/Users/mrtnb/go/pkg/mod/github.com/lukesampson/[email protected]/figletlib/layout.go:210 +0x87

github.com/lukesampson/figlet/figletlib.addChar(0x3def20, 0x63, {0x63, 0x8, 0x0})

    C:/Users/mrtnb/go/pkg/mod/github.com/lukesampson/[email protected]/figletlib/layout.go:202 +0x7f

github.com/lukesampson/figlet/figletlib.getWord({0x4270d9, 0x8}, 0xc0000221e0, {0x1, 0x0, 0x0})

    C:/Users/mrtnb/go/pkg/mod/github.com/lukesampson/[email protected]/figletlib/layout.go:264 +0x1e5

github.com/lukesampson/figlet/figletlib.getWords({0x4270d9, 0x8}, 0x0, {0x0, 0x0, 0x0})

    C:/Users/mrtnb/go/pkg/mod/github.com/lukesampson/[email protected]/figletlib/layout.go:273 +0x12b

github.com/lukesampson/figlet/figletlib.GetLines({0x4270d9, 0x8}, 0xc0000221e0, 0x32, {0x4261b5, 0x0, 0x0})

    C:/Users/mrtnb/go/pkg/mod/github.com/lukesampson/[email protected]
                                                                           215653-8a3ef4a6ac42/figletlib/layout.go:294 +0xa6

github.com/lukesampson/figlet/figletlib.FPrintMsg({0x48ca00, 0xc000006018}, {0x4
4270d9, 0x58}, 0x58, 0x21fe8130108, {0x478f, 0x24, 0x0}, {0x4263a9, ...})
C:/Users/mrtnb/go/pkg/mod/github.com/lukesampson/[email protected]
215653-8a3ef4a6ac42/figletlib/print.go:42 +0x65
lincore/utils.Slant({0x4270d9, 0x8})
D:/Golang/lincore/utils/font.go:14 +0xd6
main.Greeting()
D:/Golang/lincore/main.go:49 +0x25
main.main()
D:/Golang/lincore/main.go:54 +0x2e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant