def METHOD_NAME(
    self, keys: str, count=1, pause: float | None = None, target=None
) -> None:
    if pause is None:
        pause = self.pause_between_keys
    if target is None:
        target = self.tmux_pane
    for i in range(count):
        if keys == " ":
            keys = "Space"
        target.send_keys(cmd=keys, enter=False, suppress_history=False)
        # inspired by https://github.com/dmotz/TuringType
        real_pause = random.uniform(0, pause) + 0.4 * pause
        if keys == "Space":
            real_pause += 1.5 * pause
        elif keys == ".":
            real_pause += pause
        elif random.random() > 0.75:
            real_pause += pause
        elif random.random() > 0.95:
            real_pause += 2 * pause
        self.pause(real_pause)