diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-26 11:56:53 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-26 11:56:53 (GMT) |
commit | d33e7f7779bbc46d28d52a472f67d959e112abab (patch) | |
tree | 7342e37239bbc30511af07bc571f1ce09170476e /doc | |
parent | 4ffc1e087b85ca03aef3f3e5b63f1f9129c4ebb0 (diff) | |
parent | 7c6b70ac1a979b615ed85dd9b8382811282bd609 (diff) | |
download | tk-d33e7f7779bbc46d28d52a472f67d959e112abab.zip tk-d33e7f7779bbc46d28d52a472f67d959e112abab.tar.gz tk-d33e7f7779bbc46d28d52a472f67d959e112abab.tar.bz2 |
Merge 8.7. Tweak the deprecations a little, matching the TIP #588 spec
Diffstat (limited to 'doc')
-rw-r--r-- | doc/console.n | 9 |
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 |