Commit Graph

2 Commits

Author SHA1 Message Date
sloum 38e7ccea52 Adds license info and copyright statement to each source file 2022-10-08 20:43:47 +00:00
Hannu Hartikainen e3e2afc4fc Replace calls to `stty` with syscalls
- Move termios-related functionality to its own package
- Reimplement stty calls using ioctl calls
- Add per-platform constants for linux and non-linux because the ioctl
  enums are different. The enums in Darwin seem to come from BSD and so
  I'm assuming they might also work for other operating systems. If not,
  we'll need to add other build-constrained const files.

This code has been tested on Darwin and will be tested on Linux before
merging.
2020-05-24 09:25:38 +03:00