ui

package
v0.0.0-...-15777f7 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Room

type Room struct {
	// contains filtered or unexported fields
}

func InitRoomsUI

func InitRoomsUI(ui *UI) *Room

func (*Room) CreateRoomListUI

func (room *Room) CreateRoomListUI(commsChan chan string, data string)

CreateRoomListUI creates the ui for room list the room list ui is appended to ContentLayout on row 0 and column 0

func (*Room) UpdateRoomListUI

func (room *Room) UpdateRoomListUI(_ chan string, d string)

type UI

type UI struct {
	App  *tview.Application
	Room *Room

	MainLayout    *tview.Grid
	ContentLayout *tview.Grid
}

func CreateUI

func CreateUI(cancelCtxCause context.CancelCauseFunc) *UI

Jump to

Keyboard shortcuts

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