commander

package
v0.0.0-...-6513b37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SpawnDialog

func SpawnDialog(buf *Buffer)

Types

type Buffer

type Buffer struct {
	*gtk.TextBuffer
	// contains filtered or unexported fields
}

Buffer represents an unbuffered API around the text buffer.

func NewBuffer

func NewBuffer(name rich.LabelStateStorer, cmder cchat.Commander) *Buffer

NewBuffer creates a new buffer with the given SessionCommander, or returns nil if cmder is nil.

func (*Buffer) ShowDialog

func (b *Buffer) ShowDialog()

func (*Buffer) Systemlnf

func (b *Buffer) Systemlnf(f string, v ...interface{})

Systemlnf is not thread-safe.

func (*Buffer) WriteError

func (b *Buffer) WriteError(err error)

WriteError is not thread-safe.

func (*Buffer) WriteOutput

func (b *Buffer) WriteOutput(output []byte)

func (*Buffer) WriteSystem

func (b *Buffer) WriteSystem(bytes []byte)

WriteSystem is not thread-safe.

type Session

type Session struct {
	*gtk.Box
	// contains filtered or unexported fields
}

func NewSession

func NewSession(buf *Buffer) *Session

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL