gdamore/tcell

Should tcell.KeyTAB be tcell.KeyHT?

Opened this issue · 0 comments

Firstly, tyvm for tcell :)

Looking at the section in key.go (

tcell/key.go

Line 426 in 88b9c25

const (
), it appears to be faithfully copied from an ASCII spec. I was curious about the origin, and various blogs led me to Wikipedia which led me to some US Armed Forces specs, specifically MIL-STD-188C and MIL-STD-188-100. key.go matches the specs perfectly, except for Tab, where the specs say HT but key.go has KeyTAB. key.go does specify KeyVT for Vertical Tab which matches the spec, so a change to KeyHT would be internally consistent as well. And then KeyTAB = KeyHT could be added to an aliases section.

Sound good?