Meanwhile, I figured out how to determine, if a given script is executed outside VScode, as REPL.TerminalMenus / Base.prompt() does currently do not work inside the VScode-REPL. Here my idea:
isincli() = isempty(Base.PROGRAM_FILE)
Meanwhile, I figured out how to determine, if a given script is executed outside VScode, as REPL.TerminalMenus / Base.prompt() does currently do not work inside the VScode-REPL. Here my idea:
isincli() = isempty(Base.PROGRAM_FILE)