Documentation ¶
Index ¶
- type Highlight
- type Msg
- type PlainUI
- func (p *PlainUI) Broadcast(msgs []Msg, scroll bool)
- func (p *PlainUI) Clear()
- func (p *PlainUI) Err(err error)
- func (p *PlainUI) Flash(msg string, dur time.Duration)
- func (p *PlainUI) JumpToActive()
- func (p *PlainUI) Latency(time.Duration)
- func (p *PlainUI) Log(msg string)
- func (p *PlainUI) MusicState(s State)
- func (p *PlainUI) UserTyping(string, bool)
- func (p *PlainUI) Users([]string)
- type State
- type TermUI
- func (ui *TermUI) BackspaceInput()
- func (ui *TermUI) Broadcast(msgs []Msg, scroll bool)
- func (ui *TermUI) Clear()
- func (ui *TermUI) CursorHide(set bool)
- func (ui *TermUI) Err(err error)
- func (ui *TermUI) ErrStr(err string)
- func (ui *TermUI) Flash(msg string, dur time.Duration)
- func (ui *TermUI) Flush()
- func (ui *TermUI) GetInput() string
- func (ui *TermUI) Input(n byte)
- func (ui *TermUI) JumpToActive()
- func (ui *TermUI) Latency(n time.Duration)
- func (ui *TermUI) Left()
- func (ui *TermUI) Link(id string) (*url.URL, bool)
- func (ui *TermUI) Log(msg string)
- func (ui *TermUI) MusicState(s State)
- func (ui *TermUI) ResetInput() []byte
- func (ui *TermUI) Right()
- func (ui *TermUI) Scroll(amount int)
- func (ui *TermUI) ScrollPageDown()
- func (ui *TermUI) ScrollPageUp()
- func (ui *TermUI) Search(qry string)
- func (ui *TermUI) SetInput(n string)
- func (ui *TermUI) Start()
- func (ui *TermUI) UserTyping(who string, is bool)
- func (ui *TermUI) Users(users []string)
- type Visible
- type Zug
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Msg ¶
type Msg struct { From string Stamp time.Time Meta string Message string Notify chatdata.Notify Highlight Highlight }
func (Msg) NotifyNever ¶
func (Msg) NotifyPersonal ¶
type PlainUI ¶
func (*PlainUI) JumpToActive ¶
func (p *PlainUI) JumpToActive()
func (*PlainUI) MusicState ¶
func (*PlainUI) UserTyping ¶ added in v0.3.9
type State ¶
type TermUI ¶
type TermUI struct {
// contains filtered or unexported fields
}
assumes utf-8
func (*TermUI) BackspaceInput ¶
func (ui *TermUI) BackspaceInput()
func (*TermUI) CursorHide ¶ added in v0.3.7
func (*TermUI) JumpToActive ¶
func (ui *TermUI) JumpToActive()
func (*TermUI) MusicState ¶
func (*TermUI) ResetInput ¶
func (*TermUI) ScrollPageDown ¶
func (ui *TermUI) ScrollPageDown()
func (*TermUI) ScrollPageUp ¶
func (ui *TermUI) ScrollPageUp()
func (*TermUI) UserTyping ¶ added in v0.3.9
type Visible ¶ added in v0.5.5
type Visible uint8
const ( VisibleStatus Visible = 1 << iota VisibleUsers VisibleBrowser VisibleSeek VisibleInput VisibleDefault = VisibleStatus | VisibleUsers | VisibleBrowser | VisibleSeek | VisibleInput )
Click to show internal directories.
Click to hide internal directories.