Skip to content

Commit

Permalink
Do not use of non-standard escape character '\e'
Browse files Browse the repository at this point in the history
  • Loading branch information
znz committed Sep 25, 2019
1 parent c60451d commit ca58e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/io/console/console.c
Expand Up @@ -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;
Expand Down

0 comments on commit ca58e83

Please sign in to comment.