Skip to content

Fix clear fallback for unknown Ghostty terminfo#37

Open
mcclayton wants to merge 1 commit into
mainfrom
codex/fix-ghostty-clear
Open

Fix clear fallback for unknown Ghostty terminfo#37
mcclayton wants to merge 1 commit into
mainfrom
codex/fix-ghostty-clear

Conversation

@mcclayton
Copy link
Copy Markdown
Owner

Summary

  • wrap the managed clear command so interactive shells use the existing ANSI fallback when terminfo does not know xterm-ghostty
  • make clearTerminal call the real binary via command clear to avoid recursion through the wrapper
  • extend terminal compatibility coverage to assert typed clear is available and quiet

Validation

  • bash -n config/dotfiles/mac/bashrc.sh ci/test_terminal_compat.sh
  • bash ./ci/test_terminal_compat.sh
  • bash ./ci/checks.sh
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant