summaryrefslogtreecommitdiffstats
path: root/library/demos/rmt
diff options
context:
space:
mode:
Diffstat (limited to 'library/demos/rmt')
-rw-r--r--library/demos/rmt6
1 files changed, 6 insertions, 0 deletions
diff --git a/library/demos/rmt b/library/demos/rmt
index 21c6ca0..1c1d102 100644
--- a/library/demos/rmt
+++ b/library/demos/rmt
@@ -60,6 +60,12 @@ bind .t <Return> {
invoke
break
}
+bind .t <KP_Enter> {
+ .t mark set insert {end - 1c}
+ .t insert insert \n
+ invoke
+ break
+}
bind .t <Delete> {
catch {.t tag remove sel sel.first promptEnd}
if {[.t tag nextrange sel 1.0 end] eq ""} {