summaryrefslogtreecommitdiffstats
path: root/library/console.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-03-01 00:04:27 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-03-01 00:04:27 (GMT)
commit0462bda0d03f58d14dcafecd046e3a2e1f71204c (patch)
tree9fa79f4e6dc02dd11496fc57512bc6707f1abdc7 /library/console.tcl
parentf2f74bc8a64b6129566eb2f4689ef0fcc678d259 (diff)
downloadtk-0462bda0d03f58d14dcafecd046e3a2e1f71204c.zip
tk-0462bda0d03f58d14dcafecd046e3a2e1f71204c.tar.gz
tk-0462bda0d03f58d14dcafecd046e3a2e1f71204c.tar.bz2
* library/console.tcl (ConsoleBind): Corrected console <<Paste>>
binding on Unix platforms.
Diffstat (limited to 'library/console.tcl')
-rw-r--r--library/console.tcl6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/console.tcl b/library/console.tcl
index 776e7b4..70c5f51 100644
--- a/library/console.tcl
+++ b/library/console.tcl
@@ -4,7 +4,7 @@
# can be used by non-unix systems that do not have built-in support
# for shells.
#
-# RCS: @(#) $Id: console.tcl,v 1.16 2001/11/23 02:04:17 das Exp $
+# RCS: @(#) $Id: console.tcl,v 1.17 2002/03/01 00:04:27 dgp Exp $
#
# Copyright (c) 1995-1997 Sun Microsystems, Inc.
# Copyright (c) 1998-2000 Ajuba Solutions.
@@ -289,8 +289,10 @@ proc ::tk::ConsoleBind {w} {
## Get all Text bindings into Console
foreach ev [bind Text] { bind Console $ev [bind Text $ev] }
- ## We really didn't want the newline insertion
+ ## We really didn't want the newline insertion...
bind Console <Control-Key-o> {}
+ ## ...or any Control-v binding (would block <<Paste>>)
+ bind Console <Control-Key-v> {}
# For the moment, transpose isn't enabled until the console
# gets and overhaul of how it handles input -- hobbs