~ubuntu-branches/ubuntu/trusty/fsharp/trusty-proposed

« back to all changes in this revision

Viewing changes to src/fsharp/fsi/console.fs

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers
  • Date: 2014-02-13 16:55:16 UTC
  • mfrom: (3.1.2 trusty)
  • Revision ID: package-import@ubuntu.com-20140213165516-o51ftovy7pu2d0rk
Tags: 3.0.34+dfsg-3ubuntu1
* Make DEP-8 test depend on only fsharp package to pick up any dependency breakage
* Add missing libmono-compilerservices-symbolwriter4.0-cil dependency to fsharp
* Add fsharpc/fsharpi manpages
* Strip executable bit from xbuild .Targets files; now lintian clean!

Show diffs side-by-side

added added

removed removed

Lines of Context:
444
444
                change()
445
445
            // Control-d
446
446
            | (ConsoleModifiers.Control, '\004') ->
447
 
                if (input.Length = 0) then
448
 
                    raise <| new System.IO.EndOfStreamException()
449
 
                else
450
 
                    delete ();
451
 
                    change()
 
447
                exit 0 //quit
452
448
            | _ ->
453
449
                // Note: If KeyChar=0, the not a proper char, e.g. it could be part of a multi key-press character,
454
450
                //       e.g. e-acute is ' and e with the French (Belgium) IME and US Intl KB.