diff --git a/ext/io/console/console.c b/ext/io/console/console.c index 2604715605..59a14d893a 100644 --- a/ext/io/console/console.c +++ b/ext/io/console/console.c @@ -1106,7 +1106,7 @@ console_vt_response(int argc, VALUE *argv, VALUE io) static VALUE console_cursor_pos(VALUE io) { - VALUE query = rb_str_new_cstr("\e[6n"); + VALUE query = rb_str_new_cstr("\033[6n"); VALUE resp = console_vt_response(1, &query, io); VALUE row, column, term; unsigned int r, c;