diminuer l'indentation pour les fonctions e*

This commit is contained in:
Jephté Clain 2015-07-17 11:40:12 +04:00
parent d4ac5f7b10
commit 3ee6cb4d7c
2 changed files with 4 additions and 4 deletions

View File

@ -220,8 +220,8 @@ def eecho(msg, flush=None): eprint(msg, V_INFO, True, flush, ERR)
def eecho_(msg, flush=None): eprint(msg, V_INFO, False, flush, ERR)
def edebug(msg, flush=None): eprint((('D ', 'w,@'), msg), V_DEBUG, True, flush, ERR)
def get_ntlevel(): return len(get_tlevel()) / 4
def set_ntlevel(l): set_tlevel(l * ' ')
def get_ntlevel(): return len(get_tlevel()) / 2
def set_ntlevel(l): set_tlevel(l * ' ')
def inc_ntlevel():
if get_estack() != '': set_ntlevel(get_ntlevel() + 1)
def dec_ntlevel():

View File

@ -3167,7 +3167,7 @@ function __t_etitle() {
local __t_title="$1"; shift
local __t_s=0
# etitle
[ -n "$__estack" ] && __tlevel="${__tlevel} "
[ -n "$__estack" ] && __tlevel="${__tlevel} "
__estack="$__estack:t"
if show_info; then
if [ -n "$__t_deferred" ]; then
@ -3351,7 +3351,7 @@ function eend() {
elif [ "${__estack%:t}" != "$__estack" ]; then
# terminer etitle -s
__estack="${__estack%:t}"
__tlevel="${__tlevel% }"
__tlevel="${__tlevel% }"
fi
}
function __elinedots() {