mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] Reline::Windows.erase_after_cursor erases attributes too
https://github.com/ruby/reline/commit/68b961dfc7
This commit is contained in:
parent
05df7e0d4a
commit
e1449ae74f
1 changed files with 1 additions and 0 deletions
|
@ -258,6 +258,7 @@ class Reline::Windows
|
|||
cursor = csbi[4, 4].unpack('L').first
|
||||
written = 0.chr * 4
|
||||
@@FillConsoleOutputCharacter.call(@@hConsoleHandle, 0x20, get_screen_size.last - cursor_pos.x, cursor, written)
|
||||
@@FillConsoleOutputAttribute.call(@@hConsoleHandle, 0, get_screen_size.last - cursor_pos.x, cursor, written)
|
||||
end
|
||||
|
||||
def self.scroll_down(val)
|
||||
|
|
Loading…
Reference in a new issue