cli

package
v0.0.0-...-2a0aeb0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const READLINE_PROMPT = "> "

Variables

This section is empty.

Functions

func RunUI

func RunUI(out chan<- string, bye chan struct{})

*

  • Execute the command line interface. *
  • Read commands, validate them, turn them into DBGp commands, and pass them
  • to the other part of the debugger that deals with talking to the DBGp
  • engine. *
  • Special commands:
  • - The "bye" command exits the debugger.
  • - The empty string or "refresh" command lists any DBGp message that has
  • arrived after the previous command has been issued. *
  • @param chan<- string out
  • DBGp commands are written to this channel.
  • @param chan struct{} bye
  • Event channel. It is closed to broadcast the global exit event.

func UpdateUIStatus

func UpdateUIStatus(in <-chan message.Message)

*

  • Display incoming DBGP messages.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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