mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-08 15:30:37 +00:00
Fix tmux configuration for swapper module
This commit is contained in:
parent
3415117b6b
commit
cf009d3610
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user