names => exponents
clips
| -rw-r--r-- | Cargo.toml | 1 | ||||
| -rw-r--r-- | src/main.rs | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -8,6 +8,7 @@ repository = "https://github.com/bend-n/beeg" authors = ["bendn <[email protected]>"] [dependencies] +clipp = "0.1.0" comat = "0.1.3" phf = { version = "0.11.2", features = ["macros"] } regex = "1.10.3" diff --git a/src/main.rs b/src/main.rs index 75a4ccc..7f3ef10 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,5 +37,6 @@ fn main() -> ExitCode { }; let exponent = TAB[mat.get(2).unwrap().into()]; println!("{}e+{exponent}", mat.get(1).unwrap().as_str()); + clipp::copy(format!("{}e+{exponent}", mat.get(1).unwrap().as_str())); ExitCode::SUCCESS } |