# libtmux::literal_arguments

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/keys.hpp#L115
- **Page:** https://libtmux.org/reference/cxx/libtmux-literal_arguments/

```
libtmux::literal_arguments(text: std::string_view) -> expected< std::vector< std::string >, KeyError >
```

Send text exactly as written: the flag, the end of flags, and the text.

`--` is part of the fragment rather than something a caller appends, because text beginning with a dash is read as another `send-keys` option without it and that is not a mistake worth making twice. It was made twice: this returned the flag and the text alone, `Pane::send_text` inserted the separator afterwards, and `Chain::send_text` did not — so the same text through the two spellings reached tmux as two different commands.
