From: Ian Jackson Date: Sun, 8 Aug 2010 16:03:36 +0000 (+0100) Subject: where-vessels: --debug implies a command loop X-Git-Tag: 6.6.2~22 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=commitdiff_plain;h=2e3e4fc93de2b211c73d12cc851c10af8872b320 where-vessels: --debug implies a command loop --- diff --git a/yarrg/where-vessels b/yarrg/where-vessels index 1c2781f..5541749 100755 --- a/yarrg/where-vessels +++ b/yarrg/where-vessels @@ -1365,4 +1365,11 @@ after idle invoke_notes draw +if {$debug} { + package require Tclx + commandloop -async \ + -prompt1 { return "where-vessels% " } \ + -prompt2 { return "> " } +} + # rsync -r --exclude=\*~ yarrg/icons/. ijackson@chiark.greenend.org.uk:/home/ftp/users/ijackson/yarrg/vessel-info/.