chjj / blessed

A high-level terminal interface library for node.js.
Other
11.2k stars 528 forks source link

how to capture ctrl+shift+[key] #397

Open mahendraHegde opened 4 years ago

mahendraHegde commented 4 years ago

I'm looking to capture ctrl+shift+c it doesn't seem to map to my code,

listTable.key('C-S-c', ...);

I tried to check the sequence by,

listTable.on('keypress', function(ch,key) {
    logger.log(JSON.stringify(key))

but it doesn't print anything for ctrl+shift+c

any idea how do I capture it?