Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define #system_echo and #system_raw on all systems #12352

Merged

Conversation

HertzDevil
Copy link
Contributor

@HertzDevil HertzDevil commented Aug 3, 2022

Follow-up to #12294. The breaking changes are:

  • #noecho! and #raw! return nil instead of LibC.tcsetattr's return value;
  • The *_from_tc_mode! macros are now deprecated.

Later we should probably deprecate Termios as well, since it is now only used from within src/crystal/system/unix/file_descriptor.cr.

I have no idea if these functions make sense on WASI. They are left unimplemented.

@straight-shoota straight-shoota added this to the 1.6.0 milestone Aug 13, 2022
@straight-shoota straight-shoota merged commit ca44f43 into crystal-lang:master Aug 16, 2022
@HertzDevil HertzDevil deleted the refactor/unix-io-console branch August 16, 2022 14:54
@HertzDevil HertzDevil mentioned this pull request Jan 11, 2023
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants