Commit 2f40000d authored by Dave DeMarle's avatar Dave DeMarle Committed by Code Review

Merge topic 'tcl_interactive' into master

168e0b9d Write welcome message to console only when interactive
parents dff62296 168e0b9d
......@@ -236,7 +236,7 @@ int Tcl_AppInit(Tcl_Interp *interp)
" }\n"
" return $package_res\n"
"}\n"
"if {\"-A\" ni $argv} {\n"
"if $tcl_interactive {\n"
"puts {Enter: \"package require vtk\" to load VTK commands}\n"
"}\n";
Tcl_Eval(interp, script);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment