Documentation ¶
Overview ¶
Package terminal implements functions for responding to user input and dispatching to appropriate backend commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShortenFilePath ¶
ShortenFilePath take a full file path and attempts to shorten it by replacing the current directory to './'.
Types ¶
type Commands ¶
type Commands struct {
// contains filtered or unexported fields
}
Commands represents the commands for Delve terminal process.
func DebugCommands ¶
DebugCommands returns a Commands struct with default commands defined.
func (*Commands) Find ¶
Find will look up the command function for the given command input. If it cannot find the command it will default to noCmdAvailable(). If the command is an empty string it will replay the last command.
type ExitRequestError ¶
type ExitRequestError struct{}
ExitRequestError is returned when the user exits Delve.
func (ExitRequestError) Error ¶
func (ere ExitRequestError) Error() string
Click to show internal directories.
Click to hide internal directories.