ansi_console: use define for access row/col safely