pass_typer: Remove extra space in regex
This commit is contained in:
parent
2330bde957
commit
ae080c4042
@ -130,7 +130,7 @@ def select_and_type(server_match: ServerMatch) -> None:
|
||||
window_name = cmd(["xdotool", "getactivewindow", "getwindowname"]).stdout.strip()
|
||||
|
||||
ssh_match = re.search(
|
||||
":([^ ]+=[^ ]* )*(mosh|ssh) .* (?P<destination>[^ ]*)$", window_name
|
||||
":([^ ]+=[^ ]* )*(mosh|ssh).* (?P<destination>[^ ]*)$", window_name
|
||||
)
|
||||
if ssh_match:
|
||||
server_match = ServerMatch.from_destination(ssh_match.group("destination"))
|
||||
|
Loading…
Reference in New Issue
Block a user