Re: Linux: position() bug?
- Posted by DerekParnell (admin) Jan 22, 2012
- 1578 views
I haven't got linux to test this but here is some code that can be used ... (btw it works fine in Windows).
include std/graphics.e constant SCREEN = 1, KEYB = 0 object pos pos = get_position() ? pos puts(SCREEN, "match case? (n)") pos = get_position() position(pos[1], pos[2] - 2) gets(KEYB) puts(SCREEN, '\n') ? pos