Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StyleTitle = lipgloss.NewStyle(). Foreground(colorPrimary). Bold(true). Padding(0, 1) StylePanel = lipgloss.NewStyle(). Border(lipgloss.RoundedBorder()). BorderForeground(colorMuted) StylePanelActive = lipgloss.NewStyle(). Border(lipgloss.RoundedBorder()). BorderForeground(colorPrimary) StylePeerOnline = lipgloss.NewStyle(). Foreground(colorGreen) StylePeerOffline = lipgloss.NewStyle(). Foreground(colorMuted) StyleMessage = lipgloss.NewStyle(). Foreground(colorText) StyleMessageMine = lipgloss.NewStyle(). Foreground(colorSecond) StyleInput = lipgloss.NewStyle(). Foreground(colorText). BorderStyle(lipgloss.NormalBorder()). BorderTop(true). BorderForeground(colorMuted) StyleHelp = lipgloss.NewStyle(). Foreground(colorMuted). Italic(true) StyleError = lipgloss.NewStyle(). Foreground(colorRed) )
Functions ¶
func DisplayVersion ¶ added in v0.5.30
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func NewWithChannels ¶
func (Model) WithVersion ¶ added in v0.5.25
type MsgFileDone ¶
type MsgFileProgress ¶
type MsgFileStart ¶
type MsgLocalAddr ¶
type MsgLocalAddr struct{ Addr string }
type MsgNicknameSet ¶
type MsgNicknameSet struct{ Nickname string }
type MsgPeerFound ¶
type MsgPeerLost ¶
type MsgTextReceived ¶
type MsgTextReceived struct{ From, Content string }
Click to show internal directories.
Click to hide internal directories.