On Sun, Nov 27, 2016 at 12:07 PM, Michael Van Canneyt <
mich...@freepascal.org> wrote:
>
> If you mean in a cross-platform way, I think we would welcome patches :)
>
> On the subject of cross-platform console applications...

While working recently on converting libwebsockets header to FPC, I ran
into a need of adding Ctrl-Break handlers (used in sample apps).
I was actually surprised of the presence of SysSetCtrlBreakHandler function
in RTL.
But i was even more surprised it doesn't do anything useful (for console
application).

So here's the first patch for Windows
http://bugs.freepascal.org/view.php?id=31023

If this one is good (or made to the state, when it's good), I'm looking
into providing the same patches for linux and darwin.

thanks,
Dmitry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to