[vim/vim] xxd: fix auto color detection for output file and TERM (PR #19813)

1 view
Skip to first unread message

h_east

unread,
Mar 25, 2026, 12:24:02 AM (yesterday) Mar 25
to vim/vim, Subscribed
  • Disable auto color when output goes to a file (two-argument form)
  • Check TERM variable: disable color when unset, empty or "dumb"
  • Add color_forced flag to preserve -R always behavior
  • Add tests for the new behavior

fixes: #19790


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19813

Commit Summary

  • b228500 xxd: fix auto color detection for output file and TERM

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19813@github.com>

Christian Brabandt

unread,
Mar 25, 2026, 3:36:12 PM (15 hours ago) Mar 25
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19813)

thanks, I'll also update the version header.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19813/c4129254393@github.com>

Christian Brabandt

unread,
Mar 25, 2026, 3:46:08 PM (15 hours ago) Mar 25
to vim/vim, Subscribed

Closed #19813 via 1578ea9.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19813/issue_event/23905274492@github.com>

Reply all
Reply to author
Forward
0 new messages