1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//go:build !linux && !darwin && !windows
package terminal
// startChild reports that this platform has no support yet.
//
// Linux and macOS have Unix pseudo-terminals and Windows has pseudo-consoles;
// the BSDs and everything else would need a file of their own here. Until
// somebody writes it, terminal windows are simply unavailable and the rest of
// the editor is unaffected.
func startChild(Options) (child, error) { return nil, ErrUnsupported }
// defaultShell is never reached, since no session can be started.
func defaultShell() string { return "/bin/sh" }
|