зеркало из https://github.com/github/ruby.git
[ruby/reline] Revert "Add a space after a comma"
This reverts commit https://github.com/ruby/reline/commit/6009b3ef7ab7. To merge a Pull Request... https://github.com/ruby/reline/commit/83021f4267
This commit is contained in:
Родитель
7dd0e91cac
Коммит
a856489be6
|
@ -383,7 +383,7 @@ class Reline::Windows
|
||||||
return unless csbi = get_console_screen_buffer_info
|
return unless csbi = get_console_screen_buffer_info
|
||||||
buffer_width = csbi[0, 2].unpack1('S')
|
buffer_width = csbi[0, 2].unpack1('S')
|
||||||
attributes = csbi[8, 2].unpack1('S')
|
attributes = csbi[8, 2].unpack1('S')
|
||||||
_window_left, window_top, _window_right, window_bottom = *csbi[10, 8].unpack('S*')
|
_window_left, window_top, _window_right, window_bottom = *csbi[10,8].unpack('S*')
|
||||||
fill_length = buffer_width * (window_bottom - window_top + 1)
|
fill_length = buffer_width * (window_bottom - window_top + 1)
|
||||||
screen_topleft = window_top * 65536
|
screen_topleft = window_top * 65536
|
||||||
written = 0.chr * 4
|
written = 0.chr * 4
|
||||||
|
|
Загрузка…
Ссылка в новой задаче