Ignore broken pipe in Element::print()
I found the issue reported by spacefrogg in
https://radicle.zulipchat.com/#narrow/channel/369277-heartwood/topic/Terminal.20output.20handling.20and.20pipes/with/574695784
And figured that this might be a low-hanging fruit (at least the exact error they reported), so I went ahead and fixed it with this patch.
I am not yet sure whether this is “the way to go” for the codebase, but well, it is a proposal. Tell me what you think!
1 file changed
+13
-1
7b07e57b
→
378365aa
modified crates/radicle-term/src/element.rs
@@ -84,8 +84,20 @@ pub trait Element: fmt::Debug + Send + Sync {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|