Re: enhancing prompt() functions

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

I'm going to try a puts(0,default) and see if that works. :)

That's hard to do (even in C) for reasons I previously stated.

On the Windows (non-MinGW) side, we can add support in be_runtime.c's key_gets() function. We already appear to be handling editing in there, so we'd just need to add a pushback buffer.

We don't use key_gets() on MinGW or POSIX, however. On MinGW we use the W32API console api, so it might be possible to push back characters that way.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu