Fix tmux configuration for swapper module

This commit is contained in:
Ferran Basora 2020-09-04 12:49:32 +00:00
parent 3415117b6b
commit cf009d3610

View File

@ -136,7 +136,7 @@ impl<'a> Swapper<'a> {
let options = self.executor.execute(params);
let lines: Vec<&str> = options.split('\n').collect();
let pattern = Regex::new(r#"@thumbs-([\w\-0-9]+) "?(\w+)"?"#).unwrap();
let pattern = Regex::new(r#"^@thumbs-([\w\-0-9]+) "(.+)"$"#).unwrap();
let args = lines
.iter()