# LibTmux::Client::ClientTarget.prompt-history

- **Module:** LibTmux::Client
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Client.rakumod#L359
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-client-clienttarget-prompt-history/

```
method prompt-history(Str :$type = Str, *%operation --> Blob:D)
```

Return raw prompt-history output, without claiming newline-safe entry framing.

Return raw prompt-history output, without claiming newline-safe entry framing.

## Parameters

- `$type?` (`Str`)
- `%operation`

## tmux command

The tmux commands behind `prompt-history`.

- [`show-prompt-history`](/en/tmux/latest/manual/show-prompt-history/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_show_prompt_history_entry`](/en/tmux/latest/reference/c-variable-cmd_show_prompt_history_entry/) (attribute)
- [`cmd_show_prompt_history_exec`](/en/tmux/latest/reference/c-function-cmd-show-prompt-history-c-cmd_show_prompt_history_exec/) (function)
