mirror of https://github.com/curusarn/resh
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
661 B
19 lines
661 B
package status
|
|
|
|
// Code - exit code of the resh-control command
|
|
type Code int
|
|
|
|
const (
|
|
// Success exit code
|
|
Success Code = 0
|
|
// Fail exit code
|
|
Fail = 1
|
|
// EnableArrowKeyBindings exit code - tells reshctl() wrapper to enable arrow key bindings
|
|
EnableArrowKeyBindings = 101
|
|
// DisableArrowKeyBindings exit code - tells reshctl() wrapper to disable arrow key bindings
|
|
DisableArrowKeyBindings = 111
|
|
// ReloadRcFiles exit code - tells reshctl() wrapper to reload shellrc resh file
|
|
ReloadRcFiles = 200
|
|
// InspectSessionHistory exit code - tells reshctl() wrapper to take current sessionID and send /inspect request to daemon
|
|
InspectSessionHistory = 201
|
|
)
|
|
|