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

aperezdc / lua-dotty / 30
84%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2016 07:33AM UTC
Jobs 5
Files 3
Run time 20s
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
30

push

travis-ci

aperezdc
Parse valid Alt+<key> non-CSI escape sequences

Fixes #2.

Implement recognition of Alt+<key> escape sequences. These are sent by the
terminal as "ESC letter", which unfortunately overlaps for the simple VT-52
escape sequences for the keypad and F1-F4 keys. This means that certain key
combinations cannot be reliably detected without disabling VT-52 mode on
terminals which support alternate keypad reporting, neither of which dotty
can do at the moment:

* Alt+Shift+A (VT-52 "up")
* Alt+Shift+B (VT-52 "down")
* Alt+Shift+C (VT-52 "right")
* Alt+Shift+D (VT-52 "left")
* Alt+Shift+F (VT-52 "end")
* Alt+Shift+H (VT-52 "home")
* Alt+Shift+O (prefix for keypad escapes in ANSI mode)
* Alt+Shift+P (VT-52 "F1")
* Alt+Shift+Q (VT-52 "F2")
* Alt+Shift+R (VT-52 "F3")
* Alt+Shift+S (VT-52 "F4")

Note that even if VT-52 mode could be disabled, it would not be possible to
handle Alt+Shift+O, as it clashes with the prefix for keypad escape sequences
when terminals use ANSI-style keypad reporting.

At any rate, probably it is a good idea for developers to avoid using any
of the above in their applications, to ensure that they will work in those
terminals which use VT-52 and/or ANSI-style keypad reporting.

282 of 339 relevant lines covered (83.19%)

363.26 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
14
100.0
./dotty/descape.lua
Jobs
ID Job ID Ran Files Coverage
1 30.1 (LUA="lua 5.1") 13 Nov 2016 07:33AM UTC 0
83.19
Travis Job 30.1
2 30.2 (LUA="lua 5.2") 13 Nov 2016 07:33AM UTC 0
83.19
Travis Job 30.2
3 30.3 (LUA="lua 5.3") 13 Nov 2016 07:33AM UTC 0
83.19
Travis Job 30.3
4 30.4 (LUA="luajit 2.0") 13 Nov 2016 07:33AM UTC 0
77.65
Travis Job 30.4
5 30.5 (LUA="luajit 2.1") 13 Nov 2016 07:33AM UTC 0
77.65
Travis Job 30.5
Source Files on build 30
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #30
  • 67ee50e8 on github
  • Prev Build on master (#29)
  • Next Build on master (#31)
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