Results 141 comments of Sancarn

It also should be noted that I found today you can open F12 devtools instead of the live console: https://docs.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-f12-developer-tools-on-windows-10 If you want to access the global scope of the...

Good point about using `debugger`! That is much easier! :) I quite often step through the code and did already notice the interesting generator based async/await compiled syntax. Not exactly...

@AGkitchen Before a full permission system (like GITIGNORE) is setup, it makes sense to me that a simple 'stepping stone' would be to simply allow the guest to see the...

Hey @pxlrbt is there any reason why you closed this issue? If you're getting annoyed about notifications on the thread you can unsubscribe from the issue itself, instead of closing...

Bear in mind, `WM_CLOSE` is a windows message and thus does not work for console applications as far as I know.

@maltevoos If so then you might consider using [`WM_QUIT`](https://docs.microsoft.com/en-us/windows/desktop/winmsg/wm-quit). I personally don't know the difference between most of these signals to be honest (not a native linux user... 😛 )

`WM_CLOSE` is sent to the window when the "X" is pressed on a window. Turns out that I was mistaken and `WM_QUIT` is not related to the window. The message...

Are you sure `GenerateConsoleCtrlEvent()` doesn't work? ``` // It's impossible to be attached to 2 consoles at the same time, // so release the current one. FreeConsole(); // This does...

> Also, appears one needs to call AttachConsole before sending the ctrl+break but...then you lose your current console, not to mention temporarily losing your own ctrl+c handler @rdp See https://github.com/crystal-lang/crystal/issues/7339#issuecomment-458331518

@rdp > I think one of the "cons" is that after running code like that you would no longer be bound to your initial console (as in...printf would now go...