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

aperezdc / lua-dotty / 31 / 3
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2016 03:15PM UTC
Files 3
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

14 Nov 2016 03:01PM UTC coverage: 83.626% (+0.4%) from 83.186%
LUA="lua 5.3"

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%)

71.77 hits per line

Source Files on job 31.3 (LUA="lua 5.3")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 31
  • Travis Job 31.3
  • 5a1423ff on github
  • Prev Job for LUA="lua 5.3" on master (#30.3)
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