Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commited3e00e

Browse files
committed
Merge pull requestfsharp#174 from jpalmer/master
Use Control-D for quit
2 parentsb00fa1d +6b130aa commited3e00e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎src/fsharp/fsi/console.fs‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -444,11 +444,7 @@ type internal ReadLineConsole() =
444444
change()
445445
// Control-d
446446
|(ConsoleModifiers.Control, '\004')->
447-
if(input.Length=0)then
448-
raise<|new System.IO.EndOfStreamException()
449-
else
450-
delete();
451-
change()
447+
exit0//quit
452448
|_->
453449
// Note: If KeyChar=0, the not a proper char, e.g. it could be part of a multi key-press character,
454450
// e.g. e-acute is ' and e with the French (Belgium) IME and US Intl KB.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp