mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-15 17:33:51 +01:00
feat: first complete workflow
This commit is contained in:
parent
58ceb190b6
commit
01d6e62689
5 changed files with 119 additions and 516 deletions
|
|
@ -136,6 +136,7 @@ impl FromStr for HintStyleCli {
|
|||
}
|
||||
}
|
||||
|
||||
/// Try to parse a `&str` into a tuple of `char`s.
|
||||
fn parse_chars(src: &str) -> Result<(char, char), error::ParseError> {
|
||||
if src.len() != 2 {
|
||||
return Err(error::ParseError::ExpectedSurroundingPair);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue