Compare commits
No commits in common. "d9a296a34e9a2d76b03d5278bb334ed142078925" and "d2a255ad2e6b34661b2510d9bf0d36abc4d817ad" have entirely different histories.
d9a296a34e
...
d2a255ad2e
|
@ -263,7 +263,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "cryptools"
|
||||
version = "0.12.4"
|
||||
version = "0.12.2"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"crptls",
|
||||
|
@ -273,7 +273,7 @@ dependencies = [
|
|||
"rust_decimal_macros",
|
||||
"rustyline",
|
||||
"structopt",
|
||||
"termion 2.0.1",
|
||||
"termion",
|
||||
"tui",
|
||||
]
|
||||
|
||||
|
@ -662,22 +662,13 @@ version = "0.1.57"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
|
||||
|
||||
[[package]]
|
||||
name = "redox_syscall"
|
||||
version = "0.2.16"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
|
||||
dependencies = [
|
||||
"bitflags 1.3.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "redox_termios"
|
||||
version = "0.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76"
|
||||
dependencies = [
|
||||
"redox_syscall 0.1.57",
|
||||
"redox_syscall",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -921,19 +912,7 @@ checksum = "c22cec9d8978d906be5ac94bceb5a010d885c626c4c8855721a4dbd20e3ac905"
|
|||
dependencies = [
|
||||
"libc",
|
||||
"numtoa",
|
||||
"redox_syscall 0.1.57",
|
||||
"redox_termios",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "termion"
|
||||
version = "2.0.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "659c1f379f3408c7e5e84c7d0da6d93404e3800b6b9d063ba24436419302ec90"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"numtoa",
|
||||
"redox_syscall 0.2.16",
|
||||
"redox_syscall",
|
||||
"redox_termios",
|
||||
]
|
||||
|
||||
|
@ -999,7 +978,7 @@ dependencies = [
|
|||
"either",
|
||||
"itertools",
|
||||
"log",
|
||||
"termion 1.5.5",
|
||||
"termion",
|
||||
"unicode-segmentation",
|
||||
"unicode-width",
|
||||
]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "cryptools"
|
||||
version = "0.12.4"
|
||||
version = "0.12.2"
|
||||
authors = ["scoobybejesus <scoobybejesus@users.noreply.github.com>"]
|
||||
edition = "2021"
|
||||
description = "Command-line utility for processing cryptocurrency transactions into 'lots' and 'movements'."
|
||||
|
@ -21,13 +21,13 @@ path = "src/main.rs"
|
|||
[dependencies]
|
||||
crptls = { path = "crptls" }
|
||||
csv = "1.3.0"
|
||||
rust_decimal = "1.32.0"
|
||||
rust_decimal_macros = "1.32.0"
|
||||
rust_decimal = "1.32"
|
||||
rust_decimal_macros = "1.32"
|
||||
chrono = { version = "0.4.31", features = ["serde"] }
|
||||
structopt = "0.2.10"
|
||||
rustyline = "12.0.0"
|
||||
tui = { version = "0.8", optional = true, features = ['termion'] }
|
||||
termion = { version = "2.0.1", optional = true }
|
||||
termion = { version = "1.5", optional = true }
|
||||
dotenv = "0.15.0"
|
||||
|
||||
[profile.release]
|
||||
|
|
|
@ -5,8 +5,8 @@ authors = ["scoobybejesus <scoobybejesus@users.noreply.github.com>"]
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
rust_decimal = "1.32.0"
|
||||
rust_decimal_macros = "1.32.0"
|
||||
rust_decimal = "1.32"
|
||||
rust_decimal_macros = "1.32"
|
||||
chrono = { version = "0.4.31", features = ["serde"] }
|
||||
csv = "1.3.0"
|
||||
serde = { version = "1.0.189", features = ["derive"] }
|
||||
|
|
|
@ -137,11 +137,6 @@ pub fn export(
|
|||
|
||||
println!("Attempting to export:");
|
||||
|
||||
if app.to_print_by_idx.is_empty() {
|
||||
println!(" None selected.");
|
||||
return Ok(())
|
||||
}
|
||||
|
||||
for report_idx in app.to_print_by_idx.iter() {
|
||||
|
||||
println!(" {}", reports[*report_idx]);
|
||||
|
|
|
@ -9,7 +9,7 @@ use std::error::Error;
|
|||
use tui::Terminal;
|
||||
use tui::backend::TermionBackend;
|
||||
use termion::raw::IntoRawMode;
|
||||
use termion::screen::IntoAlternateScreen;
|
||||
use termion::screen::AlternateScreen;
|
||||
use termion::input::MouseTerminal;
|
||||
use termion::event::Key;
|
||||
|
||||
|
@ -32,7 +32,7 @@ pub (crate) fn print_menu_tui(
|
|||
|
||||
let stdout = io::stdout().into_raw_mode()?;
|
||||
let stdout = MouseTerminal::from(stdout);
|
||||
let stdout = stdout.into_raw_mode()?.into_alternate_screen()?;
|
||||
let stdout = AlternateScreen::from(stdout);
|
||||
let backend = TermionBackend::new(stdout);
|
||||
let mut terminal = Terminal::new(backend)?;
|
||||
terminal.hide_cursor()?;
|
||||
|
|
Loading…
Reference in New Issue