aquarat / goncurses

Automatically exported from code.google.com/p/goncurses
Other
0 stars 0 forks source link

Menu from example won't run #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Checkout the repo
2.run the examples menu

What is the expected output? What do you see instead?

Error: 
./menu.go:33: cannot use err (type error) as type string in function argument: 
need type assertion

What version of the product are you using? On what operating system?
go version go1.0.2
Linux 3.5.0-19-generic #30-Ubuntu

How to fix this:
Change line 33 with:
stdscr.Print(err.Error())

Original issue reported on code.google.com by vincentp...@gmail.com on 14 Jan 2013 at 10:02

GoogleCodeExporter commented 9 years ago
Fixed in tip

Original comment by rthornto...@gmail.com on 18 Jan 2013 at 12:50