summaryrefslogtreecommitdiff
path: root/lib/console.tcl
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-07-10 01:19:13 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-07-10 01:19:13 (GMT)
commit0a84b3d94ff8c29a5d3b738d4f08d1344305b619 (patch)
tree60723fb7c6a4e0d79ebc74ba923eae592393de71 /lib/console.tcl
parent7eafa2f1578e605e1e68d8ccba9d600cc6b89173 (diff)
parente87fb0f1b4a4b458394a65d664145a9a8001e821 (diff)
downloadgit-0a84b3d94ff8c29a5d3b738d4f08d1344305b619.zip
git-0a84b3d94ff8c29a5d3b738d4f08d1344305b619.tar.gz
git-0a84b3d94ff8c29a5d3b738d4f08d1344305b619.tar.bz2
Merge branch 'maint'
* maint: git-gui: Don't linewrap within console windows git-gui: Correct ls-tree buffering problem in browser
Diffstat (limited to 'lib/console.tcl')
-rw-r--r--lib/console.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/console.tcl b/lib/console.tcl
index 03d0354..6f718fb 100644
--- a/lib/console.tcl
+++ b/lib/console.tcl
@@ -47,16 +47,20 @@ method _init {} {
-background white -borderwidth 1 \
-relief sunken \
-width 80 -height 10 \
+ -wrap none \
-font font_diff \
-state disabled \
+ -xscrollcommand [list $w.m.sbx set] \
-yscrollcommand [list $w.m.sby set]
label $w.m.s -text {Working... please wait...} \
-anchor w \
-justify left \
-font font_uibold
+ scrollbar $w.m.sbx -command [list $w.m.t xview] -orient h
scrollbar $w.m.sby -command [list $w.m.t yview]
pack $w.m.l1 -side top -fill x
pack $w.m.s -side bottom -fill x
+ pack $w.m.sbx -side bottom -fill x
pack $w.m.sby -side right -fill y
pack $w.m.t -side left -fill both -expand 1
pack $w.m -side top -fill both -expand 1 -padx 5 -pady 10