# io.github.libtmux.kotlin.Prompt

- **Module:** io.github.libtmux.kotlin
- **Package:** io.github.libtmux:libtmux-kotlin
- **Language:** Kotlin
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Prompt.kt#L11
- **Page:** https://libtmux.org/en/kotlin/latest/reference/io-github-libtmux-kotlin-prompt/

```
public class Prompt
```

The server's command-prompt history.

Holds the Java handle privately, so a member here always wins over a same-named catalog-generated
extension in `PromptOperations.kt`.

## Members

### Other members

- `asJava` (property): The Java prompt this wraps: the same object, for a Java API that takes one.
- `clear` (method): Forgets what has been typed at the prompt.
- `equals` (method)
- `hashCode` (method)
- `history` (method): What has been typed at the prompt, oldest first.
- `server` (property)
- `toString` (method)
