From cedd2c6a479826cfc2d747677e86ae665d507f2a Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Mon, 18 Jul 2016 12:03:29 -0300 Subject: [PATCH] Replace _KEYCLEAR so that script setup will work on OS X. Probably for Linux too. --- source/global/version.bas | 2 +- source/qb64.bas | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/global/version.bas b/source/global/version.bas index 4c32580ae..04e36d98c 100644 --- a/source/global/version.bas +++ b/source/global/version.bas @@ -3,5 +3,5 @@ DIM SHARED BuildNum AS STRING Version$ = "1.000" 'BuildNum format is YYYYMMDD/id, where id is a ever-increasing 'integer. If you make a change, update the date and increase the id! -BuildNum$ = "20160717/35" +BuildNum$ = "20160718/36" diff --git a/source/qb64.bas b/source/qb64.bas index 1cf9e07bc..9b406a321 100644 --- a/source/qb64.bas +++ b/source/qb64.bas @@ -1134,7 +1134,8 @@ IF C = 9 THEN 'run IF path.exe$ = "" THEN path.exe$ = "./" IF os$ = "LNX" THEN SHELL QuotedFilename$(path.exe$ + file$ + extension$) + ModifyCOMMAND$ IF path.exe$ = "./" THEN path.exe$ = "" - _KEYCLEAR + DO: LOOP UNTIL INKEY$ = "" + DO: LOOP UNTIL _KEYHIT = 0 END IF IF idemode THEN