Skip to content

Commit

Permalink
build(terminfo): include user capabilities in comments (#28066)
Browse files Browse the repository at this point in the history
Add -x flag to infocmp, so that comments match the content.
  • Loading branch information
zeertzjq committed Mar 28, 2024
1 parent a89ce89 commit 981301d
Show file tree
Hide file tree
Showing 2 changed files with 548 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update_terminfo.sh
Expand Up @@ -77,7 +77,7 @@ for term in $sorted_terms; do
continue
fi
printf '\n'
infocmp -L -1 -A "$db" "$term" | sed -e '1d' -e 's#^#// #' | tr '\t' ' '
infocmp -L -x -1 -A "$db" "$term" | sed -e '1d' -e 's#^#// #' | tr '\t' ' '
printf 'static const int8_t %s[] = {\n' "${entries[$term]}"
printf ' '
od -v -t d1 < "$path" | cut -c9- | xargs | tr ' ' ','
Expand Down

0 comments on commit 981301d

Please sign in to comment.