diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 19442a6..4cee4d1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,7 @@ async fn main() { let ans: Result<Channel, InquireError> = Select::new("Select channel from list:", channels).prompt(); - let (tx, mut rx) = mpsc::channel(5); + let (tx, mut rx) = mpsc::unbounded_channel(); match ans { Ok(ch) => { |
