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

aperezdc / lua-dotty / 30 / 5
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2016 07:33AM 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

13 Nov 2016 07:16AM UTC coverage: 77.647% (+0.8%) from 76.829%
LUA="luajit 2.1"

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.

198 of 255 relevant lines covered (77.65%)

101.14 hits per line

Source Files on job 30.5 (LUA="luajit 2.1")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 30
  • Travis Job 30.5
  • 67ee50e8 on github
  • Prev Job for LUA="luajit 2.1" on master (#29.5)
  • Next Job for LUA="luajit 2.1" on master (#31.5)
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