[vim/vim] channel: add 'blob' mode so callbacks receive binary data as Blob (PR #20084)

2 views
Skip to first unread message

mattn

unread,
Apr 27, 2026, 9:53:06 PM (16 hours ago) Apr 27
to vim/vim, Subscribed

Raw channel callbacks always receive a String, which truncates binary data at NUL bytes. Add a blob mode for mode / out_mode / err_mode so the callback's msg argument is delivered as a |Blob|, preserving all bytes including 0x00.

Closes #10500


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

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

Commit Summary

  • 47d9c0e Raw channel callbacks always receive a String, which truncates binary data at NUL bytes.

File Changes

(5 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20084@github.com>

Reply all
Reply to author
Forward
0 new messages