ansi: support escaped codes where last argument is zero