Lines 435-441
Link Here
|
435 |
(( COLS > 0 )) || (( COLS = 80 )) |
435 |
(( COLS > 0 )) || (( COLS = 80 )) |
436 |
COLS=$((${COLS} - 8)) # width of [ ok ] == 7 |
436 |
COLS=$((${COLS} - 8)) # width of [ ok ] == 7 |
437 |
# Adjust COLS so that eend works properly on a standard BSD console. |
437 |
# Adjust COLS so that eend works properly on a standard BSD console. |
438 |
[ "${TERM}" = "cons25" ] && COLS=$((${COLS} - 1)) |
438 |
[[ ${TERM} == "cons25" || ${TERM} == "dumb" ]] && COLS=$((${COLS} - 1)) |
439 |
|
439 |
|
440 |
# Now, ${ENDCOL} will move us to the end of the |
440 |
# Now, ${ENDCOL} will move us to the end of the |
441 |
# column; irregardless of character width |
441 |
# column; irregardless of character width |