Re: CTRL-BREAK still make sense on Windows for `runserver`?

2021-06-22 Thread William Vincent
Ok, thanks for the link Matthew. Just thought I'd bring it up in case things had changed. Seems status quo is fine for now but if Windows keyboards continue to remove the Pause/Break key might make sense to add `Control-C` as Adam notes or eventually switch over. On Tuesday, June 22, 2021 at

Re: CTRL-BREAK still make sense on Windows for `runserver`?

2021-06-22 Thread Florian Apolloner
As long as runserver (usually) properly shuts down when CTRL-C is hit, then it imo makes sense to change the text -- especially if that is the only thing accessible on some keyboards. The usually above is because someone might have a bare except that is hit that moment and as such the process

Re: CTRL-BREAK still make sense on Windows for `runserver`?

2021-06-21 Thread Carlton Gibson
I too realise I don't have a(n obvious) break key but have been happily hitting CTRL-C. On Monday, 21 June 2021 at 23:53:15 UTC+2 Adam Johnson wrote: > Would it be bad to have Django respond to both shortcuts? > I think as a matter of fact it does. At least using PowerShell/Win10/Etc —

Re: CTRL-BREAK still make sense on Windows for `runserver`?

2021-06-21 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Would it be bad to have Django respond to both shortcuts? On Mon, 21 Jun 2021 at 21:40, Matthew Pava wrote: > Ctrl + Break and Ctrl + C are treated slightly differently by Windows. > Ctrl + Break is always a signal, but an application can override the > functionality of Ctrl + C. > > > > Please

RE: CTRL-BREAK still make sense on Windows for `runserver`?

2021-06-21 Thread Matthew Pava
Ctrl + Break and Ctrl + C are treated slightly differently by Windows. Ctrl + Break is always a signal, but an application can override the functionality of Ctrl + C. Please see https://docs.microsoft.com/en-us/windows/console/ctrl-c-and-ctrl-break-signals I’ve dealt with this issue many