aaron.ballman added a comment.

In http://reviews.llvm.org/D11761#218141, @pcc wrote:

> I normally quit clang-query, or pretty much any other interactive command 
> line program, by typing end-of-file (Ctrl-D on Unix, Ctrl-Z <enter> on 
> Windows). If this works on Windows 10 I'd rather users do it that way. We can 
> make this more discoverable through documentation.


While Ctrl+Z <enter> does terminate clang-query on Windows, it's an incredibly 
obtuse way to terminate an interactive application on Windows. (Having used 
Windows for 20 years, I had to go look up what Ctrl+Z does!) Saying "but we can 
document it" doesn't really change that fact; users can already look at the 
documentation on MSDN to learn that Ctrl+Break or Ctrl+C will send a SIGINT 
(Ctrl+Z sets the EOF indicator, which is even more obtuse).

I'm not certain that control codes to terminate interactive shell programs on 
Windows is as normal as it is on Unix-like systems.

~Aaron


http://reviews.llvm.org/D11761



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to