From 2e3e4fc93de2b211c73d12cc851c10af8872b320 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Aug 2010 17:03:36 +0100 Subject: [PATCH] where-vessels: --debug implies a command loop --- yarrg/where-vessels | 7 +++++++ 1 file changed, 7 insertions(+) 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/. -- 2.30.2