diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-05-29 15:35:29 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-05-29 15:43:05 +0300 |
commit | b8261ee36a88e2212c8ea20e39a4eed41d89d6f7 (patch) | |
tree | f637786a8663cff56f6adb51ec6dffe43c891077 /src/mailcap.rs | |
parent | 839c1b1eb5b19e38cf85ae96e87154d4ee7f6ec4 (diff) |
Overhaul input thread
Remove raw/non raw distinction.
Use a pipe for input thread commands and poll stdin/pipe for events
Diffstat (limited to 'src/mailcap.rs')
-rw-r--r-- | src/mailcap.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mailcap.rs b/src/mailcap.rs index 310eb884..31b2abae 100644 --- a/src/mailcap.rs +++ b/src/mailcap.rs @@ -176,9 +176,6 @@ impl MailcapEntry { a => a.to_string(), }) .collect::<Vec<String>>(); - { - context.input_kill(); - } let cmd_string = format!("{} {}", cmd, args.join(" ")); melib::log( format!("Executing: sh -c \"{}\"", cmd_string.replace("\"", "\\\"")), @@ -236,7 +233,6 @@ impl MailcapEntry { } } context.replies.push_back(UIEvent::Fork(ForkType::Finished)); - context.restore_input(); Ok(()) } } |