OSDN Git Service

* library/console.itb (Console::_build_win): Bind Control-m and
authortromey <tromey>
Sat, 13 Oct 2001 00:16:17 +0000 (00:16 +0000)
committertromey <tromey>
Sat, 13 Oct 2001 00:16:17 +0000 (00:16 +0000)
Control-j.

gdb/gdbtk/ChangeLog
gdb/gdbtk/library/console.itb

index 4a22153..87d43aa 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-12  Tom Tromey  <tromey@redhat.com>
+
+       * library/console.itb (Console::_build_win): Bind Control-m and
+       Control-j.
+
 2001-10-12  Daniel Jacobowitz  <drow@mvista.com>
 
        * generic/gdbtk-cmds.c (gdb_listfuncs): Use ALL_BLOCK_SYMBOLS.
index 8c2db2a..b532618 100644 (file)
@@ -64,6 +64,8 @@ body Console::_build_win {} {
   # bind editing keys for console window
   #
   bind $_twin <Return> "$this invoke; break"
+  bind_plain_key $_twin Control-m "$this invoke; break"
+  bind_plain_key $_twin Control-j "$this invoke; break"
 
   # History control.
   bind_plain_key $_twin Control-p "[code $this _previous]; break"