Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: Automatically spell check commit messages as the user types
[gitweb.git]
/
lib
/
console.tcl
diff --git
a/lib/console.tcl
b/lib/console.tcl
index 2075374683a49dd8a955e52c76d951ec3013536b..5597188d803a1c8217011412a39c14fbbeaf0b3a 100644
(file)
--- a/
lib/console.tcl
+++ b/
lib/console.tcl
@@
-120,7
+120,7
@@
method _read {fd after} {
} else {
$w_t delete $console_cr end
$w_t insert end "\n"
- $w_t insert end [string range $buf $c
$cr
]
+ $w_t insert end [string range $buf $c
[expr {$cr - 1}]
]
set c $cr
incr c
}