# LibTmux::Async::Server#display

- **Module:** LibTmux::Async
- **Package:** libtmux-async
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/c8b839595d5a30e271e3f9be0d0fe811ddb11b7e/gems/libtmux/lib/libtmux/operations.rb#L18
- **Public owner:** LibTmux::Server#display
- **Page:** https://libtmux.org/en/ruby/v0.1.0/reference/libtmux-async-server-display/

tmux command: [`display-message`](/en/tmux/latest/manual/display-message/)

```
def display: (
  ::String,
  ?target: ::LibTmux::EntityRef?,
  ?timeout: ::Numeric,
  ?cancel: untyped
) -> ::LibTmux::CommandResult
```

Formats are intentionally executable tmux formats, not literal text.

Behavior contract: Formats.

## Parameters

- `arg1` (`::String`)
- `target` (`::LibTmux::EntityRef?`)
- `timeout` (`::Numeric`)
- `cancel` (`untyped`)
