Closed matprec closed 5 years ago
This does error with
Checking crossterm v0.9.6
error[E0277]: the trait bound `D: std::clone::Clone` is not satisfied
--> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/crossterm-0.9.6/src/crossterm.rs:95:5
|
95 | / pub fn style<D>(&self, val: D) -> crossterm_style::StyledObject<D>
96 | | where
97 | | D: Display,
98 | | {
99 | | crossterm_style::ObjectStyle::new().apply_to(val)
100 | | }
| |_____^ the trait `std::clone::Clone` is not implemented for `D`
|
= help: consider adding a `where D: std::clone::Clone` bound
= note: required by `crossterm_style::StyledObject
Does anyone know whats up with that? It compiles locally and passed CI in the past, but crates.io is immutable?!
This is due to crossterm
making semver imcompatible changes, releasing crossterm_style
with breaking changes as a patch version. I've contacted to author in https://github.com/TimonPost/crossterm/issues/184 to resolve the issue.
Based on #29
Implements a query view + very basic dsl
I've stripped some things out, like span / filter view to get the PR up, we can always add them later on!
It doesn't have nice error messages yet, the buffer will just get cleared and no filter is applied, i will create a follow up issue.
It supports history, via ↑ and ↓
Syntax:
event.field.<message> [== | contains | matches | starts_with] "<value>"
Closes #5, #6, #7