mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Do not use of non-standard escape character '\e'
This commit is contained in:
parent
c60451d9cd
commit
ca58e83400
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue