# io.github.libtmux.Buffers.Buffers.delete

- **Module:** io.github.libtmux.Buffers.Buffers
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/Buffers.java#L89
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-buffers-buffers-delete/

```
io.github.libtmux.Buffers.Buffers.delete(name: String) -> void
```

Removes a buffer by its exact name.

## Raises

- `ObjectDoesNotExistException`: if the server has no buffer by that name
- `ServerNotRunningException`: if no daemon is running
- `UnsupportedTmuxVersionException`: before tmux 3.4, whose named deletion silently removes the top buffer when the name is absent
