hecate
hecate copied to clipboard
panic: runtime error: slice bounds out of range
panic: runtime error: slice bounds out of range [:1002] with capacity 999
goroutine 1 [running]:
main.CursorWidget.drawAtPoint(0x0, 0xc0000ee000, 0x0, 0x4, 0x2, 0x0, 0x53, 0x2, 0x33, 0x1a, ...)
/home/tp1/program_lang/go/src/github.com/evanmiller/hecate/widget_cursor.go:48 +0x1407
main.drawWidgets(0xc0000ee000, 0xf000f801000001, 0x4c00f0009a009a, 0x7f003f001a00a7, 0x10100010000e7, 0xf8007d010000f8, 0x25fe0000007d, 0x2022000025fd, 0x0, 0x0, ...)
/home/tp1/program_lang/go/src/github.com/evanmiller/hecate/widget.go:81 +0x274
main.(*DataTab).drawTab(0xc0000ee000, 0xf000f801000001, 0x4c00f0009a009a, 0x7f003f001a00a7, 0x10100010000e7, 0xf8007d010000f8, 0x25fe0000007d, 0x2022000025fd, 0x3)
/home/tp1/program_lang/go/src/github.com/evanmiller/hecate/tab.go:395 +0xef
main.(*DataScreen).drawScreen(0xc0000ec000, 0xf000f801000001, 0x4c00f0009a009a, 0x7f003f001a00a7, 0x10100010000e7, 0xf8007d010000f8, 0x25fe0000007d, 0x2022000025fd)
/home/tp1/program_lang/go/src/github.com/evanmiller/hecate/screen_data.go:232 +0x783
main.layoutAndDrawScreen(0x563420, 0xc0000ec000, 0xf000f801000001, 0x4c00f0009a009a, 0x7f003f001a00a7, 0x10100010000e7, 0xf8007d010000f8, 0x25fe0000007d, 0x2022000025fd)
/home/tp1/program_lang/go/src/github.com/evanmiller/hecate/screen.go:40 +0x89
main.mainLoop(0xc00007a300, 0x1, 0x1, 0xf000f801000001, 0x4c00f0009a009a, 0x7f003f001a00a7, 0x10100010000e7, 0xf8007d010000f8, 0x25fe0000007d, 0x2022000025fd)
/home/tp1/program_lang/go/src/github.com/evanmiller/hecate/hecate.go:111 +0x64b
main.main()
/home/tp1/program_lang/go/src/github.com/evanmiller/hecate/hecate.go:195 +0x338