diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-28 10:23:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 10:23:07 +0800 |
commit | 981301d11f83f5e9b7425cd383e59bbe0d7afdd5 (patch) | |
tree | 33a60f2ea08b038f0ccbbffcdf6720acb94f80cc /scripts/update_terminfo.sh | |
parent | a89ce89742db600665b69e58d5e1bc3dbee9d57b (diff) | |
download | rneovim-981301d11f83f5e9b7425cd383e59bbe0d7afdd5.tar.gz rneovim-981301d11f83f5e9b7425cd383e59bbe0d7afdd5.tar.bz2 rneovim-981301d11f83f5e9b7425cd383e59bbe0d7afdd5.zip |
build(terminfo): include user capabilities in comments (#28066)
Add -x flag to infocmp, so that comments match the content.
Diffstat (limited to 'scripts/update_terminfo.sh')
-rwxr-xr-x | scripts/update_terminfo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update_terminfo.sh b/scripts/update_terminfo.sh index e12365ba8f..34525dec32 100755 --- a/scripts/update_terminfo.sh +++ b/scripts/update_terminfo.sh @@ -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 ' ' ',' |