aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/tk83/files/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/tk83/files/patch-an')
-rw-r--r--chinese/tk83/files/patch-an16
1 files changed, 16 insertions, 0 deletions
diff --git a/chinese/tk83/files/patch-an b/chinese/tk83/files/patch-an
new file mode 100644
index 000000000000..47dcdff2bb00
--- /dev/null
+++ b/chinese/tk83/files/patch-an
@@ -0,0 +1,16 @@
+--- ../library/entry.tcl.orig Thu Jan 6 02:22:24 2000
++++ ../library/entry.tcl Wed Feb 21 21:27:44 2001
+@@ -214,6 +214,13 @@
+ }
+ }
+
++# input method configuration binding (unix only)
++if {![string compare $tcl_platform(platform) "unix"]} {
++ if {[string compare [info commands imconfigure] {}]} {
++ bind Entry <FocusIn> {catch {imconfigure %W}}
++ }
++}
++
+ # Additional emacs-like bindings:
+
+ bind Entry <Control-a> {