Files
LLeMbas-TTY/ci/regen-binary-terminfo.sh
Benoit de Chezelles 3bbf48b1bf termwiz: Add a CI guard+tests for the compiled terminfo entry (#8368)
The compiled terminfo is reduced to a single artifact that CI checks
against its text source, failing on any drift.
Tests load the embedded entry and cover an XTGETTCAP response.
2026-11-20 09:00:05 +01:00

12 lines
352 B
Bash
Executable File

#!/usr/bin/env bash
# Regenerate the compiled terminfo database from its text source.
set -euo pipefail
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# tic lays entries out as <dir>/<first-letter-of-name>/<name>,
# so this writes termwiz/data/w/wezterm.
tic -x -o "$repo_root/termwiz/data" "$repo_root/termwiz/data/wezterm.terminfo"