# LibTmux::Async::Server::send_text

- **Module:** LibTmux::Async
- **Package:** LibTmux-Async
- **Language:** Perl
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-perl/blob/352715a4fa66a96eed7763b90daaa536aa2f121d/packages/async/lib/LibTmux/Async/Server.pm#L81
- **Page:** https://libtmux.org/en/perl/latest/reference/libtmux-async-server-send_text/

```
sub send_text($self, %args)
```

See [`"send_text" in LibTmux::Server`](/en/perl/latest/reference/libtmux-server-send_text/) for arguments, returned value, and completion.

## Methods

## Parameters

- `args`

## tmux command

The tmux commands behind `send_text`.

- [`display-message`](/en/tmux/latest/manual/display-message/) (daemon identity or target preflight)
- [`send-keys`](/en/tmux/latest/manual/send-keys/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_display_message_entry`](/en/tmux/latest/reference/c-variable-cmd_display_message_entry/) (attribute)
- [`cmd_display_message_exec`](/en/tmux/latest/reference/c-function-cmd-display-message-c-cmd_display_message_exec/) (function)
- [`cmd_send_keys_entry`](/en/tmux/latest/reference/c-variable-cmd_send_keys_entry/) (attribute)
- [`cmd_send_keys_exec`](/en/tmux/latest/reference/c-function-cmd-send-keys-c-cmd_send_keys_exec/) (function)
