Skip to content
Snippets Groups Projects
  1. Dec 29, 2018
    • Michael Neumann's avatar
      Fix TIOCGWINSZ type mismatch on DragonFly · 0837ad5a
      Michael Neumann authored
      Below is the error message I got before this patch:
      
          error[E0308]: mismatched types
            --> src/sys/unix/size.rs:17:34
             |
          17 |         cvt(ioctl(STDOUT_FILENO, TIOCGWINSZ, &mut size as *mut _))?;
             |                                  ^^^^^^^^^^ expected u64, found u32
          help: you can cast an `u32` to `u64`, which will zero-extend the source value
             |
          17 |         cvt(ioctl(STDOUT_FILENO, TIOCGWINSZ.into(), &mut size as *mut _))?;
             |                                  ^^^^^^^^^^^^^^^^^
      0837ad5a
  2. Oct 15, 2018
  3. Oct 12, 2018
  4. Aug 20, 2018
  5. Jun 12, 2018
  6. Jun 10, 2018
  7. May 09, 2018
  8. May 08, 2018
  9. May 07, 2018
  10. Nov 22, 2017
  11. Oct 11, 2017
  12. Aug 03, 2017
  13. Aug 01, 2017
  14. Jul 27, 2017
  15. Jul 24, 2017
  16. Jul 23, 2017
  17. Jul 16, 2017
  18. Jul 12, 2017
    • ftilde's avatar
      Add EventsAndRaw iter and implement it for Read · 2f97c69a
      ftilde authored
      - In addition to Events it preserves the byte sequence that created an event. This
        is useful, e.g., for implementing a terminal multiplexer where the raw input
        should in some cases be passed on to another tty.
      - In order to ensure backwards compatibility, the function that creates the trait
        is implemented in a separate extension trait.
      2f97c69a
  19. Jun 10, 2017
  20. Jun 09, 2017
  21. Jun 03, 2017
  22. Jun 01, 2017
  23. Apr 25, 2017
  24. Mar 29, 2017
Loading