Alen Komic
Alen Komic
I'm working on project where main view is behaving like "tail -f" on file that can become pretty large. The issue is when View has around 1000 lines moving through...
/window 100 panic: runtime error: index out of range goroutine 1 [running]: github.com/mephux/komanda-cli/komanda/command.(*WindowCmd).Exec.func1(0xc4200e6480, 0xc4200e63f0, 0xc4200e1860, 0xc4200836c0, 0x0, 0x1) /Users/ak/Stuff/go/src/github.com/mephux/komanda-cli/komanda/command/window.go:38 +0x3e9 github.com/mephux/komanda-cli/komanda/client.(*Server).Exec.func1(0xc4200e63f0, 0x1, 0xc420501b70) /Users/ak/Stuff/go/src/github.com/mephux/komanda-cli/komanda/client/server.go:72 +0x1be github.com/mephux/komanda-cli/vendor/github.com/jroimartin/gocui.(*Gui).MainLoop(0xc4200e63f0, 0x1370b55, 0x5) /Users/ak/Stuff/go/src/github.com/mephux/komanda-cli/vendor/github.com/jroimartin/gocui/gui.go:358 +0x1db...
Useradd creates group with the same name by default, no need to run groupadd.