~gbmor/clinte

cf2b9750ca87ed4fadee63606d8de6f109e84cb8 — Ben Morrison 2 years ago 2a3d402 v0.3.2
moved display to 15 posts
3 files changed, 3 insertions(+), 3 deletions(-)

M Cargo.lock
M Cargo.toml
M src/main.rs
M Cargo.lock => Cargo.lock +1 -1
@@ 119,7 119,7 @@ dependencies = [

[[package]]
name = "clinte"
version = "0.3.1"
version = "0.3.2"
dependencies = [
 "chrono 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
 "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",

M Cargo.toml => Cargo.toml +1 -1
@@ 1,6 1,6 @@
[package]
name = "clinte"
version = "0.3.1"
version = "0.3.2"
authors = ["Ben Morrison <ben@gbmor.dev>"]
edition = "2018"


M src/main.rs => src/main.rs +1 -1
@@ 90,7 90,7 @@ fn list_matches(db: &db::Conn) {
    });

    for (i, e) in postvec.iter().enumerate() {
        if (postvec.len() >= 30 && i >= postvec.len() - 31) || postvec.len() < 30 {
        if (postvec.len() > 14 && i >= postvec.len() - 15) || postvec.len() < 15 {
            print!("{}", e);
        }
    }