Skip to content

Commit

Permalink
Fix tty buffer size typo for unix (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
AldaronLau committed Aug 10, 2022
1 parent f59221e commit 2362bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event/source/unix.rs
Expand Up @@ -26,7 +26,7 @@ const WAKE_TOKEN: Token = Token(2);
// I (@zrzka) wasn't able to read more than 1_022 bytes when testing
// reading on macOS/Linux -> we don't need bigger buffer and 1k of bytes
// is enough.
const TTY_BUFFER_SIZE: usize = 1_204;
const TTY_BUFFER_SIZE: usize = 1_024;

pub(crate) struct UnixInternalEventSource {
poll: Poll,
Expand Down

0 comments on commit 2362bc2

Please sign in to comment.