Re: Linux: position() bug?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu