refactor: config names

This commit is contained in:
graelo 2021-03-21 08:51:45 +01:00
parent d558c81183
commit 0ee29303c6
6 changed files with 23 additions and 26 deletions

View file

@ -3,10 +3,10 @@ use std::fs::OpenOptions;
use std::io::prelude::*;
use std::io::{self, Read};
use copyrat::{config::CliOpt, run, ui::Selection};
use copyrat::{config::basic, run, ui::Selection};
fn main() {
let opt = CliOpt::parse();
let opt = basic::Config::parse();
// Copy the pane contents (piped in via stdin) into a buffer, and split lines.
let stdin = io::stdin();