terminfo.dev 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +10 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terminfo.dev",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Test your terminal's feature support and contribute to terminfo.dev",
5
5
  "keywords": [
6
6
  "ansi",
package/src/index.ts CHANGED
@@ -39,11 +39,16 @@ async function main() {
39
39
  const terminal = detectTerminal()
40
40
 
41
41
  if (!jsonMode) {
42
- console.log(`\x1b[1mterminfo\x1b[0m — terminal feature testing for terminfo.dev\n`)
43
- console.log(
44
- `Detected: \x1b[1m${terminal.name}\x1b[0m${terminal.version ? ` ${terminal.version}` : ""} on ${terminal.os}${terminal.osVersion ? ` ${terminal.osVersion}` : ""}`,
45
- )
46
- console.log(`Running ${ALL_PROBES.length} probes...\n`)
42
+ console.log(`\x1b[1mterminfo.dev\x1b[0m — can your terminal do that?\n`)
43
+ console.log(` Terminal: \x1b[1m${terminal.name}\x1b[0m${terminal.version ? ` ${terminal.version}` : ""}`)
44
+ console.log(` Platform: ${terminal.os}${terminal.osVersion ? ` ${terminal.osVersion}` : ""}`)
45
+ console.log(` Probes: ${ALL_PROBES.length} features across ${new Set(ALL_PROBES.map(p => p.id.split(".")[0])).size} categories`)
46
+ console.log(` Website: https://terminfo.dev`)
47
+ console.log(``)
48
+ console.log(`\x1b[2mResults are compared against ${ALL_PROBES.length} terminal features from the`)
49
+ console.log(`ECMA-48, VT100/VT510, xterm, and Kitty specifications.`)
50
+ console.log(`Run with --submit to contribute your results to the database.\x1b[0m\n`)
51
+ console.log(`Running probes...`)
47
52
  }
48
53
 
49
54
  const results: Record<string, boolean> = {}