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

piotrmurach / tty-reader / 58 / 8
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2018 08:23PM UTC
Files 9
Run time 0s
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

23 Nov 2018 07:42PM UTC coverage: 89.438% (+0.1%) from 89.342%
ruby-head

push

travis-ci

piotrmurach
Fix Esc key detection and close issue #6

Implements solution for differentiating between special characters
preceded by escape key and the actual escape key itself. Initially
a blocking read is performed to read a character and then if the input
buffer still conains characters they are read in non-blocking mode.
This means that if a user presses only escape key then the buffer will
be empty and there will not be any more bytes to read.

This solution is safe for reading multibyte characters as they are going
to be handled by regular blocking read and any bytes following the escape
key will not contain multibyte.

398 of 445 relevant lines covered (89.44%)

51.73 hits per line

Source Files on job 58.8 (ruby-head)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 58
  • Travis Job 58.8
  • 9a9a213d on github
  • Prev Job for ruby-head on master (#57.8)
  • Next Job for ruby-head on master (#59.8)
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

© 2026 Coveralls, Inc