From 02625fca66f17270f2407ca3251bb1d7a009cb73 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 28 Sep 2015 11:13:04 +0200 Subject: [PATCH] Optimized prompt output upon cancel --- UCRTHelper.pas | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/UCRTHelper.pas b/UCRTHelper.pas index 6dbc240..15b9d7e 100644 --- a/UCRTHelper.pas +++ b/UCRTHelper.pas @@ -54,11 +54,10 @@ begin Write(ADefault); end; - if c = #13 then - Writeln; - if c = ^C then Result := ''; //Pretend that nothing happened. + + Writeln; //Always end the line end; end.