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