0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

nixos/docs: fix typo

If that string wasn't a raw string, the "\n" in the second line won't
get rendered as such, but as a space instead.
This commit is contained in:
Anton Mosich 2025-01-09 15:42:14 +01:00
parent 5032d16b29
commit 9d2d70bea2
No known key found for this signature in database
GPG key ID: 28F77AAFFAF5BAF6

View file

@ -726,7 +726,7 @@ class Machine:
retry(tty_matches, timeout)
def send_chars(self, chars: str, delay: float | None = 0.01) -> None:
"""
r"""
Simulate typing a sequence of characters on the virtual keyboard,
e.g., `send_chars("foobar\n")` will type the string `foobar`
followed by the Enter key.