Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

Server.SetPromptHistoryLimit

SetPromptHistoryLimit stores the "prompt-history-limit" server option as int64. Read it with ServerOptionValues.PromptHistoryLimit from Server.Options; Server.UnsetOption restores inheritance or the global default.

Source and package
Qualified name
tmux.Server.SetPromptHistoryLimit
Package
tmux
Declared in
Server
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/option_generated.go
func (s Server) SetPromptHistoryLimit( ctx context.Context, value int64, ) error
Parameters
Esc

Type to search.

Reference previewOpen reference