# LibTmux.FSharp.Pane.sendLine

- **Module:** LibTmux.FSharp
- **Package:** LibTmux.FSharp
- **Language:** F#
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux.FSharp/Hierarchy.fsi#L321
- **Page:** https://libtmux.org/en/fsharp/latest/reference/libtmux-fsharp-pane-sendline/

```
val sendLine: cancellationToken: CancellationToken -> line: string -> pane: LibTmux.Pane -> Task
```

Types a line into the pane as literal text, then presses Enter.

## Parameters

- `cancellationToken` (`CancellationToken`)
- `line` (`string`)
- `pane` (`LibTmux.Pane`)

## Raises

- [`System.ArgumentException`](https://learn.microsoft.com/dotnet/api/system.argumentexception): The line contains NUL.
- [`LibTmux.LibTmuxException`](/en/csharp/latest/reference/libtmux-libtmuxexception/): The text was sent but Enter failed; whether tmux pressed it is unknown, so do not send the line again.
