Skip to content

Clean up structure of io/console and avoid stty on Windows.#4592

Merged
headius merged 1 commit intojruby:masterfrom
headius:cleanup_io_console_9k
May 8, 2017
Merged

Clean up structure of io/console and avoid stty on Windows.#4592
headius merged 1 commit intojruby:masterfrom
headius:cleanup_io_console_9k

Conversation

@headius
Copy link
Member

@headius headius commented May 7, 2017

Fixes #3989.

  • Restructure the different impls of console into their own files.
  • Always use stubbed version on Windows.
  • Cascade from native to stty to stubbed on other platforms.

cc @kares @enebo @jmiettinen

Fixes jruby#3989.

* Restructure the different impls of console into their own files.
* Always use stubbed version on Windows.
* Cascade from native to stty to stubbed on other platforms.
@headius headius added this to the JRuby 9.1.9.0 milestone May 7, 2017
@headius
Copy link
Member Author

headius commented May 7, 2017

@enebo Any concerns?

@enebo
Copy link
Member

enebo commented May 8, 2017

@headius no. Are you going to get this upstream too? Or parts of it at least?

@headius
Copy link
Member Author

headius commented May 8, 2017

@enebo Upstream where? This is JRuby-specific; in MRI io/console is a C ext. This change will go into both 9k and 1.7.

@headius headius merged commit e778b56 into jruby:master May 8, 2017
@headius headius deleted the cleanup_io_console_9k branch May 8, 2017 17:11
@enebo
Copy link
Member

enebo commented May 8, 2017

well I meant MRI and forgot it was a cext.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants