CTRL+D should not quite Scilab but delete the current char like in emacs, bash, etc... 06/15306/3
Sylvestre Ledru [Wed, 1 Oct 2014 19:32:28 +0000 (21:32 +0200)]
Change-Id: Ie4cc9c06199f19f57a167954d403261ce0c8dfbd

scilab/modules/console/src/c/cmdLine/getKey.c

index 671a4b3..a04c224 100644 (file)
@@ -240,7 +240,6 @@ static void getKey(wchar_t ** commandLine, unsigned int *cursorLocation)
         case CTRL_D:
             rmChar(*commandLine, SCI_DELETE, cursorLocation);
             updateTokenInScilabHistory(commandLine);
-            exit(0);
             break;
         case CTRL_E:
             endLine(*commandLine, cursorLocation);