Make a complicated expression more readable
addLineToScrollback should be called only if left/right margins are not set