Fossil SCM

Press "q" to exit the --tk diff window.

drh 2013-06-22 21:45 trunk
Commit 8db6f9877fec9ae079d7efb10f88ddd5aa70b213
1 file changed +1
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -602,10 +602,11 @@
602602
static const char zDiffScript[] =
603603
@ package require Tk
604604
@ wm withdraw .
605605
@ wm title . {Fossil Diff}
606606
@ wm iconname . {Fossil Diff}
607
+@ bind . <q> exit
607608
@ set body {}
608609
@ set mx 80 ;# Length of the longest line of text
609610
@ set nLine 0 ;# Number of lines of text
610611
@ text .t -width 180 -yscroll {.sb set}
611612
@ if {$tcl_platform(platform)=="windows"} {.t config -font {courier 9}}
612613
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -602,10 +602,11 @@
602 static const char zDiffScript[] =
603 @ package require Tk
604 @ wm withdraw .
605 @ wm title . {Fossil Diff}
606 @ wm iconname . {Fossil Diff}
 
607 @ set body {}
608 @ set mx 80 ;# Length of the longest line of text
609 @ set nLine 0 ;# Number of lines of text
610 @ text .t -width 180 -yscroll {.sb set}
611 @ if {$tcl_platform(platform)=="windows"} {.t config -font {courier 9}}
612
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -602,10 +602,11 @@
602 static const char zDiffScript[] =
603 @ package require Tk
604 @ wm withdraw .
605 @ wm title . {Fossil Diff}
606 @ wm iconname . {Fossil Diff}
607 @ bind . <q> exit
608 @ set body {}
609 @ set mx 80 ;# Length of the longest line of text
610 @ set nLine 0 ;# Number of lines of text
611 @ text .t -width 180 -yscroll {.sb set}
612 @ if {$tcl_platform(platform)=="windows"} {.t config -font {courier 9}}
613

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button