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

piotrmurach / tty-reader / 58
95%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2018 08:22PM CUT
Jobs 9
Files 9
Run time 3min
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

pending completion
58

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.

385 of 429 relevant lines covered (89.74%)

340.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 58.1 (2.0.0) 23 Nov 2018 08:22PM CUT 0
89.17
Travis Job 58.1
2 58.2 (2.1.10) 23 Nov 2018 08:22PM CUT 0
89.17
Travis Job 58.2
3 58.3 (2.2.10) 23 Nov 2018 08:22PM CUT 0
89.41
Travis Job 58.3
4 58.4 (2.3.8) 23 Nov 2018 08:22PM CUT 0
89.44
Travis Job 58.4
5 58.5 (2.4.5) 23 Nov 2018 08:22PM CUT 0
89.44
Travis Job 58.5
6 58.6 (2.5.3) 23 Nov 2018 08:23PM CUT 0
89.44
Travis Job 58.6
7 58.7 (jruby-9.1.5.0) 23 Nov 2018 08:26PM CUT 0
0.0
Travis Job 58.7
8 58.8 (ruby-head) 23 Nov 2018 08:23PM CUT 0
89.44
Travis Job 58.8
9 58.9 (jruby-head) 23 Nov 2018 08:26PM CUT 0
0.0
Travis Job 58.9
Source Files on build 58
  • List 0
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next
  • Back to Repo
  • Travis Build #58
  • 9a9a213d on github
  • Prev Build on master (#57)
  • Next Build on master (#59)
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