Fixed width computation for escape sequences