forked from mirrors/nixpkgs
* Seems that bash 3.2 on Mac OS X doesn't know the \e
escape, so use \033 instead. svn path=/nixpkgs/branches/stdenv-updates/; revision=31680
This commit is contained in:
parent
d4d7931a62
commit
fc89eefa50
|
@ -394,12 +394,12 @@ nestingLevel=0
|
|||
|
||||
startNest() {
|
||||
nestingLevel=$(($nestingLevel + 1))
|
||||
echo -en "\e[$1p"
|
||||
echo -en "\033[$1p"
|
||||
}
|
||||
|
||||
stopNest() {
|
||||
nestingLevel=$(($nestingLevel - 1))
|
||||
echo -en "\e[q"
|
||||
echo -en "\033[q"
|
||||
}
|
||||
|
||||
header() {
|
||||
|
|
Loading…
Reference in a new issue