Documentation ¶
Index ¶
- Constants
- type Session
- func (self *Session) Exec()
- func (self *Session) GetInput(prompt string) string
- func (self *Session) GetPrompt() string
- func (self *Session) GetRoom() types.Room
- func (self *Session) GetWindowSize() (int, int)
- func (self *Session) PrintRoom()
- func (self *Session) Write(text string)
- func (self *Session) WriteLine(line string, a ...interface{})
- func (self *Session) WriteLineColor(color types.Color, line string, a ...interface{})
- func (self *Session) WriteLinef(line string, a ...interface{})
Constants ¶
View Source
const ( CleanUserInput userInputMode = iota RawUserInput userInputMode = iota )
View Source
const LinkDouble = "Double"
View Source
const LinkSingle = "Single"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func (*Session) GetWindowSize ¶
func (*Session) WriteLineColor ¶
func (*Session) WriteLinef ¶
Click to show internal directories.
Click to hide internal directories.