mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
7c98e673d7
commit
6966c3ff44
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ class Reline::Windows
|
|||
end
|
||||
|
||||
def self.erase_after_cursor
|
||||
csbi = 0.chr * 24
|
||||
csbi = 0.chr * 22
|
||||
@@GetConsoleScreenBufferInfo.call(@@hConsoleHandle, csbi)
|
||||
attributes = csbi[8, 2].unpack1('S')
|
||||
cursor = csbi[4, 4].unpack1('L')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue