summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-26 08:58:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-26 08:58:00 (GMT)
commit7c6b70ac1a979b615ed85dd9b8382811282bd609 (patch)
tree08e1ec2efe590bbea265e3b557ffad58f29c60b9 /doc
parent04018a4f2e451cc1933bc76073c645049d9e57f1 (diff)
parent7bd5c1e5436cf2f6f8fd655d891cf7d964c2a3e1 (diff)
downloadtk-7c6b70ac1a979b615ed85dd9b8382811282bd609.zip
tk-7c6b70ac1a979b615ed85dd9b8382811282bd609.tar.gz
tk-7c6b70ac1a979b615ed85dd9b8382811282bd609.tar.bz2
Merge 8.6
Diffstat (limited to 'doc')
-rw-r--r--doc/console.n9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/console.n b/doc/console.n
index d4d8a74..40b7426 100644
--- a/doc/console.n
+++ b/doc/console.n
@@ -25,9 +25,12 @@ the Tk library. Except for TkAqua, this command is not available when
Tk is loaded into a tclsh interpreter with
.QW "\fBpackage require Tk\fR" ,
as a conventional terminal is expected to be present in that case.
-In TkAqua, this command is only available when stdin is \fB/dev/null\fR
-(as is the case e.g. when the application embedding Tk is started
-from the Mac OS X Finder).
+In TkAqua, this command is disabled when there is a startup script
+and stdin is \fB/dev/null\fR (as is the case e.g. when a bundled application
+embedding Tk is started by the macOS Launcher). To enable the command
+in that case, define the environment variable \fBTK_CONSOLE\fR. This can be
+done by modifying the Info.plist file by adding the LSEnvironment key
+to the main dict and setting its value to be a dict with the key \fBTK_CONSOLE\fR.
.PP
.TP
\fBconsole eval \fIscript\fR