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

Session.SetPromptCursorStyle

SetPromptCursorStyle stores the "prompt-cursor-style" session option as PromptCursorStyle (tmux 3.6 or later). Read it with SessionOptionValues.PromptCursorStyle from Session.Options; Session.UnsetOption restores inheritance or the global default.

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

Type to search.

Reference previewOpen reference