Re: problem with wait_key() and arrows

new topic     » goto parent     » topic index » view thread      » older message » newer message
jeremy said...

You said key codes are set in stone in be_w.c, I didn't look at the code but I wonder if they could be made configurable at runtime? i.e.

ifdef WINDOWS then 
    set_keycodes(...) 
els.... 

Not sure any of it makes sense. Just thinking aloud. That may make it easier as well to configure for exotic terminals in the Unix world as well?

Just like have a terminfo file ... shocked ...

But yes, I can change this to be loadable at runtime, with a default set hard coded. There probably should be a command line switch (and/or environment symbol) to specify which virtual key set you want to run with too.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu