Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

attribute libtmux-go latest

NotificationOptions.BacklogBytes

BacklogBytes bounds the notifications this stream holds while the caller is not reading, counting each notification's text and a small fixed overhead. Zero means 16 MiB. Once a notification would cross the bound, reads return the queued prefix and then ErrControlNotificationOverflow. A larger bound trades memory for headroom on a chatty pane; a smaller one makes a slow reader fail sooner. It may not be below 64 KiB.

Source and package
Qualified name
tmux.NotificationOptions.BacklogBytes
Package
tmux
Declared in
NotificationOptions
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/notification_stream.go
BacklogBytes : int
Esc

Type to search.

Reference preview Open reference