term
term copied to clipboard
https://github.com/PowerShell/openssh-portable/blob/latestw_all/contrib/win32/win32compat/tncon.c Make `ReadConsoleForTermEmul` act as `os.Stdin`, e.g., https://github.com/chzyer/readline/blob/master/rawreader_windows.go
This allows us to remove the test-dependencies from the module itself. - [x] depends on https://github.com/moby/term/pull/33 - [x] depends on https://github.com/moby/term/pull/21 - [x] depends on https://github.com/moby/term/pull/34
On windows with git-bash.exe: The following reports `false` and `true` ``` fmt.Print(term.IsTerminal(os.Stdout.Fd())) fmt.Print(term.IsTerminal(os.Stderr.Fd())) ``` Do you know why stdout is no terminal but stderr is?
This PR adds support for webassembly in term. I need this patch for compiling kubectl to webassembly https://github.com/kubernetes/kubernetes/pull/133638