mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2026-02-02 09:25:11 +01:00
chore: update to clap v4 & termion v2
This commit is contained in:
parent
1f79419934
commit
10013a6c6d
9 changed files with 282 additions and 196 deletions
|
|
@ -54,7 +54,7 @@ pub fn parse_alphabet(src: &str) -> Result<Alphabet> {
|
|||
}
|
||||
|
||||
/// Type-safe string alphabet (newtype).
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Alphabet(pub String);
|
||||
|
||||
impl Alphabet {
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ pub(super) const PATTERNS: [(&str, &str); 20] = [
|
|||
];
|
||||
|
||||
/// Type-safe string Pattern Name (newtype).
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct NamedPattern(pub String, pub String);
|
||||
|
||||
/// Parse a name string into `NamedPattern`, used during CLI parsing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue