schiff

Estimate the radiative properties of soft particless
git clone git://git.meso-star.com/schiff.git
Log | Files | Refs | README | LICENSE

commit f36136c46731f15bb103a119881e0242283b4791
parent 7efd6868325dab3912eb3405d8f226c857a8e0d9
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 18 Nov 2015 17:51:38 +0100

Update the "no optical property" message on Windows

Print how to stop the input on windows, i.e. ^Z <return> rather than ^D on
Unix.

Diffstat:
Msrc/schiff_args.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/schiff_args.c b/src/schiff_args.c @@ -353,8 +353,15 @@ schiff_args_init if(optind == argc) { if(!quiet) { +#ifdef OS_WINDOWS + fprintf(stderr, + "Enter the optical properties. " + "Type ^Z (i.e. CTRL+z) and return to stop:\n"); +#else fprintf(stderr, "Enter the optical properties. Type ^D (i.e. CTRL+d) to stop:\n"); +#endif + } res = schiff_optical_properties_load_stream(&args->properties, stdin, "stdin"); } else {