+Sat Sep 17 17:05:14 1994 Stu Grossman (grossman@cygnus.com)
+
+ * gdbtk.tcl: Let ^U delete lines in the command window.
+
Sat Sep 17 02:26:58 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* cp-valprint.c (static_field_print): New variable, controls
bind .command.text <Enter> {focus %W}
bind .command.text <Delete> {delete_char %W}
bind .command.text <BackSpace> {delete_char %W}
+bind .command.text <Control-u> {delete_line %W}
proc delete_char {win} {
global command_line
set command_line [string range $command_line 0 $tmp]
}
+proc delete_line {win} {
+ global command_line
+
+ $win delete {end linestart + 6 chars} end
+ $win yview -pickplace insert
+ set command_line {}
+}
+
wm minsize .command 1 1