Documentation ¶
Overview ¶
Package shell is the entry point for the terminal interface of Elvish.
Index ¶
- Variables
- func CleanupRuntime(stderr io.Writer, ev *eval.Evaler)
- func InitRuntime(stderr io.Writer, p Paths, spawn bool) *eval.Evaler
- func Interact(fds [3]*os.File, cfg *InteractConfig)
- func Script(fds [3]*os.File, args []string, cfg *ScriptConfig) int
- type InteractConfig
- type Paths
- type ScriptConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var Program prog.Program = program{}
Program is the shell subprogram.
Functions ¶
func CleanupRuntime ¶
CleanupRuntime cleans up the runtime.
func InitRuntime ¶
InitRuntime initializes the runtime. The caller should call CleanupRuntime when the Evaler is no longer needed.
func Interact ¶
func Interact(fds [3]*os.File, cfg *InteractConfig)
Interact runs an interactive shell session.
Types ¶
type InteractConfig ¶
InteractConfig keeps configuration for the interactive mode.
Click to show internal directories.
Click to hide internal directories.