summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-03-01 00:03:56 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-03-01 00:03:56 (GMT)
commit03871e2f775176486ca0290ae40b1d053d839019 (patch)
tree78b6896358cee0e9e6892a1328c6e5bdf434903f
parenta22ad04113c0fef7f94406439dc2e32d5c1cd5ba (diff)
downloadtk-03871e2f775176486ca0290ae40b1d053d839019.zip
tk-03871e2f775176486ca0290ae40b1d053d839019.tar.gz
tk-03871e2f775176486ca0290ae40b1d053d839019.tar.bz2
* library/console.tcl (tkConsoleBind): Corrected console <<Paste>>
binding on Unix platforms.
-rw-r--r--ChangeLog5
-rw-r--r--library/console.tcl6
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0f41d37..91fc5ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-28 Don Porter <dgp@users.sourceforge.net>
+
+ * library/console.tcl (tkConsoleBind): Corrected console <<Paste>>
+ binding on Unix platforms.
+
2002-02-25 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkText.c (ConfigureText): reenable the blinking cursor
diff --git a/library/console.tcl b/library/console.tcl
index 7831e7b..396d7d3 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.8.2.4 2001/10/19 19:40:17 das Exp $
+# RCS: @(#) $Id: console.tcl,v 1.8.2.5 2002/03/01 00:03:57 dgp Exp $
#
# Copyright (c) 1998-1999 Scriptics Corp.
# Copyright (c) 1995-1997 Sun Microsystems, Inc.
@@ -285,8 +285,10 @@ proc tkConsoleBind {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