• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

muesli / termenv
57%
master: 50%

Build:
Build:
LAST BUILD BRANCH: update-go-colorful
DEFAULT BRANCH: master
Repo Added 13 Jan 2020 04:16AM UTC
Files 14
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH ssh-pty
branch: ssh-pty
CHANGE BRANCH
x
Reset
  • ssh-pty
  • bump-deps
  • cach-default
  • cache-profile
  • check-nil
  • ci
  • ci-case
  • ci-osc
  • cloud-shell
  • color-cache
  • colorfgbg-parsing
  • compat-readme
  • copy
  • copy-primary
  • coverage-workflow
  • default-color-cache
  • default-output
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/setup-go-4
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/github_actions/golangci/golangci-lint-action-3
  • dependabot/github_actions/golangci/golangci-lint-action-7
  • dependabot/github_actions/golangci/golangci-lint-action-8
  • dependabot/go_modules/examples/ssh/golang.org/x/crypto-0.35.0
  • dependabot/go_modules/github.com/aymanbagabas/go-osc52-1.2.1
  • dependabot/go_modules/github.com/aymanbagabas/go-osc52-1.2.2
  • dependabot/go_modules/github.com/mattn/go-isatty-0.0.16
  • dependabot/go_modules/github.com/mattn/go-isatty-0.0.17
  • dependabot/go_modules/github.com/mattn/go-isatty-0.0.18
  • dependabot/go_modules/github.com/mattn/go-isatty-0.0.19
  • dependabot/go_modules/github.com/mattn/go-isatty-0.0.20
  • dependabot/go_modules/github.com/mattn/go-runewidth-0.0.14
  • dependabot/go_modules/github.com/mattn/go-runewidth-0.0.15
  • dependabot/go_modules/golang.org/x/sys-0.10.0
  • dependabot/go_modules/golang.org/x/sys-0.11.0
  • dependabot/go_modules/golang.org/x/sys-0.12.0
  • dependabot/go_modules/golang.org/x/sys-0.13.0
  • dependabot/go_modules/golang.org/x/sys-0.5.0
  • dependabot/go_modules/golang.org/x/sys-0.6.0
  • dependabot/go_modules/golang.org/x/sys-0.7.0
  • dependabot/go_modules/golang.org/x/sys-0.8.0
  • dependabot/go_modules/golang.org/x/sys-0.9.0
  • deps
  • ext-mouse
  • fix-default-output
  • fix-deprecations
  • fix-disable-mouse-press
  • flush-check
  • getpgrp-solaris
  • ghostty
  • ioctl
  • kitty-ansi-detection
  • kkp
  • lint
  • linter-config
  • master
  • mux-note
  • names
  • osc52
  • osc777
  • race-fix
  • readme-badge
  • readme-clipboard
  • readme-env-vars
  • readme-links
  • readme-matrix
  • readme-order
  • readwriter
  • ref-color
  • refs/tags/v0.1
  • refs/tags/v0.1.0
  • refs/tags/v0.10.0
  • refs/tags/v0.11.0
  • refs/tags/v0.12.0
  • refs/tags/v0.13.0
  • refs/tags/v0.14.0
  • refs/tags/v0.15.0
  • refs/tags/v0.15.1
  • refs/tags/v0.15.2
  • refs/tags/v0.16.0
  • refs/tags/v0.2
  • refs/tags/v0.2.0
  • refs/tags/v0.3.0
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • refs/tags/v0.5.1
  • refs/tags/v0.5.2
  • refs/tags/v0.6.0
  • refs/tags/v0.7.0
  • refs/tags/v0.7.1
  • refs/tags/v0.7.2
  • refs/tags/v0.8.0
  • refs/tags/v0.8.1
  • refs/tags/v0.9.0
  • rename-notify
  • rxvt-term-suffix
  • screen-detection
  • seq-consts
  • sequence-timeout
  • session-cmds
  • shims-aix-plan9
  • ssh
  • templatehelper-output
  • term-ctrl-grp
  • termenv-next
  • tests
  • tmux-statusreport
  • underline
  • uniseg-stringwidth
  • unsafe
  • update-docs
  • update-go-colorful
  • update-readme
  • update-ssh-example
  • vte-note
  • wezterm
  • windows-color-detection
  • windows-console

01 Sep 2023 05:37PM UTC coverage: 57.405% (-0.3%) from 57.655%
6052397761

Pull #131

github

aymanbagabas
fix(output): report terminal status when writer is not a file

The underlying writer doesn't have to be a *os.File for it to be a TTY.
For example, a PTY ssh session is a TTY. However, the std library
returns a io.ReadWriter for the ssh session.

Combined with the WithUnsafe() option, we can query the terminal of an
ssh session using Termenv.
Pull Request #131: fix(output): report terminal status when writer is not a file

20 of 20 new or added lines in 1 file covered. (100.0%)

531 of 925 relevant lines covered (57.41%)

8.8 hits per line

Relevant lines Covered
Build:
Build:
925 RELEVANT LINES 531 COVERED LINES
8.8 HITS PER LINE
Source Files on ssh-pty
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
6052397761 ssh-pty fix(output): report terminal status when writer is not a file The underlying writer doesn't have to be a *os.File for it to be a TTY. For example, a PTY ssh session is a TTY. However, the std library returns a io.ReadWriter for the ssh session. ... Pull #131 01 Sep 2023 05:38PM UTC aymanbagabas github
57.41
5943889140 ssh-pty fix(output): report terminal status when writer is not a file The underlying writer doesn't have to be a *os.File for it to be a TTY. For example, a PTY ssh session is a TTY. However, the std library returns a io.ReadWriter for the ssh session. ... Pull #131 22 Aug 2023 08:48PM UTC aymanbagabas github
57.41
5943576689 ssh-pty fix(output): report terminal status when writer is not a file The underlying writer doesn't have to be a *os.File for it to be a TTY. For example, a PTY ssh session is a TTY. However, the std library returns a io.ReadWriter for the ssh session. ... Pull #131 22 Aug 2023 08:13PM UTC aymanbagabas github
57.41
5465120123 ssh-pty fix(output): report terminal status when writer is not a file The underlying writer doesn't have to be a *os.File for it to be a TTY. For example, a PTY ssh session is a TTY. However, the std library returns a io.ReadWriter for the ssh session. ... Pull #131 05 Jul 2023 01:53PM UTC aymanbagabas github
57.41
5465119651 ssh-pty fix(output): report terminal status when writer is not a file The underlying writer doesn't have to be a *os.File for it to be a TTY. For example, a PTY ssh session is a TTY. However, the std library returns a io.ReadWriter for the ssh session. ... push 05 Jul 2023 01:53PM UTC aymanbagabas github
57.41
4703950323 ssh-pty fix(output): report terminal status when writer is not a file Pull #131 14 Apr 2023 09:14PM UTC Ayman Bagabas github
57.41
4703950033 ssh-pty fix(output): report terminal status when writer is not a file push 14 Apr 2023 09:14PM UTC Ayman Bagabas github
57.41
4703933640 ssh-pty fix(output): report terminal status when writer is not a file Pull #131 14 Apr 2023 09:11PM UTC Ayman Bagabas github
57.41
4703933244 ssh-pty fix(output): report terminal status when writer is not a file push 14 Apr 2023 09:11PM UTC Ayman Bagabas github
57.41
4703606357 ssh-pty fix(output): report terminal status when writer is not a file push 14 Apr 2023 08:22PM UTC Ayman Bagabas github
57.41
See All Builds (630)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc