What steps will reproduce the problem?
1.someWin.HLine(2, 1, gc.ACS_HLINE, x-3) // Compiles
2.someWin.VLine(1, 2, gc.ACS_VLINE, y-3) // Doesn't.
3.
What is the expected output? What do you see instead?
I expected those two to both compile, or neither of them to compile.
What version of the product are you using? On what operating system?
go1.0.3
latest source from goncurses
Please provide any additional information below.
Window.go:
func (w *Window) HLine(y, x int, ch Character, wid int)
func (w *Window) VLine(y, x, ch, h int)
defs.go:
type Character int
I believe the proper solution for this is to set VLine to use Character instead
of int. The defined characters (e.g. ACS_VLINE) are defined as type Character.
Original issue reported on code.google.com by TheEpicS...@gmail.com on 29 May 2013 at 5:11
Original issue reported on code.google.com by
TheEpicS...@gmail.com
on 29 May 2013 at 5:11