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

aperezdc / lua-dotty / 31
84%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2016 03:15PM UTC
Jobs 5
Files 3
Run time 30s
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
31

push

travis-ci

aperezdc
Implement handling of escapes for Ctrl+Alt+<key>

This patch partially solves issue #2 for the most common use cases.

Ctrl+Alt+<key> sequences are actually sent by terminals as Alt+(Ctrl+<key>):
the terminal sends ESC first, followed by the same one byte as entering
Ctrl+<key> would produce. These are summarized in the following table:

  http://vt100.net/docs/vt102-ug/figure4-3.html

This commit implements *only* handling an alphabetic <key> (A-Z) because it
is unclear how to handle characters which change positions in international
keyboards. Most likely the generated codes depend on the character on the key
cap, and not on the physical positions of the keys, but I would like to do a
bit of investigation beforehand. In the meanwhile, this covers most of the
use cases where an application may want to do Alt+Ctrl+[A-Z] keybindings.

Also, the contained changes indirectly fix incorrect (and unneeded) handling
of a CAN/SUB byte following ESC in "descape.decode_escape()".

286 of 342 relevant lines covered (83.63%)

370.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31.1 (LUA="lua 5.1") 14 Nov 2016 03:16PM UTC 0
83.63
Travis Job 31.1
2 31.2 (LUA="lua 5.2") 14 Nov 2016 03:15PM UTC 0
83.63
Travis Job 31.2
3 31.3 (LUA="lua 5.3") 14 Nov 2016 03:15PM UTC 0
83.63
Travis Job 31.3
4 31.4 (LUA="luajit 2.0") 14 Nov 2016 03:16PM UTC 0
78.29
Travis Job 31.4
5 31.5 (LUA="luajit 2.1") 14 Nov 2016 03:16PM UTC 0
78.29
Travis Job 31.5
Source Files on build 31
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #31
  • 5a1423ff on github
  • Prev Build on master (#30)
  • Next Build on master (#16266863698)
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