mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix: change terminal's size on Widows when the window size is changed
* ext/readline/readline.c (readline_get): add rl_prep_terminal(1). insited by jitte [ruby-list:43546] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bfc94fde25
commit
681754c29d
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Aug 20 14:39:47 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ext/readline/readline.c (readline_get): add rl_prep_terminal(1).
|
||||
insited by jitte [ruby-list:43546]
|
||||
|
||||
Thu Aug 20 12:09:01 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (ivar2_hash_type): disabled for now.
|
||||
|
|
|
@ -144,6 +144,7 @@ readline_event(void)
|
|||
static VALUE
|
||||
readline_get(VALUE prompt)
|
||||
{
|
||||
rl_prep_terminal(1);
|
||||
return (VALUE)readline((char *)prompt);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue