Hirohito Higashi
41c3379bdf
patch 9.2.0412: channel: term_start() out_cb/err_cb no longer deliver raw chunks
...
Problem: channel: term_start() out_cb/err_cb no longer deliver raw
chunks (regression from patch 9.2.0224, breaks callers like
vim-fugitive that parse multi-line output)
(D. Ben Knoble, after v9.2.0224)
Solution: Remove the PTY-specific per-line splitting in
may_invoke_callback() so RAW callbacks again receive the
raw chunk as returned by read(), preserving embedded NL.
If per-line handling is desired, the callback must split
"msg" on NL and strip the trailing CR itself; document
this behavior in term_start(). Replace
Test_term_start_cb_per_line() with
Test_term_start_cb_raw_chunk() to verify the raw-chunk
contract.
fixes: #20041
closes : #20045
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
Co-Authored-By: Yasuhiro Matsumoto <mattn.jp@gmail.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2026-04-28 21:06:45 +00:00
..
2026-02-14 15:19:10 +00:00
2026-02-25 21:08:15 +00:00
2026-04-28 20:31:34 +00:00
2026-03-31 15:20:08 +00:00
2026-04-28 21:06:45 +00:00
2026-04-20 16:08:47 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-18 22:19:06 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-01-19 18:07:28 +00:00
2026-01-26 19:40:37 +00:00
2026-02-09 18:35:43 +00:00
2026-02-14 15:19:10 +00:00
2026-04-13 15:50:07 +02:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-06 09:44:56 +00:00
2026-02-14 15:19:10 +00:00
2026-04-03 08:29:09 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-07 21:07:46 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-18 21:22:46 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-08 21:03:12 +00:00
2026-02-09 18:35:43 +00:00
2026-01-26 19:40:37 +00:00
2026-03-19 21:29:51 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-09 18:49:43 +00:00
2026-04-28 19:19:53 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-21 19:08:05 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-16 14:42:47 +02:00
2026-02-14 15:19:10 +00:00
2026-04-16 20:03:39 +00:00
2026-04-05 15:58:00 +00:00
2026-04-06 12:49:53 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-21 19:34:18 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-17 20:19:59 +00:00
2026-04-27 19:58:46 +00:00
2026-04-28 19:19:53 +00:00
2026-04-28 20:31:34 +00:00
2026-04-27 18:43:10 +00:00
2026-03-04 21:09:25 +00:00
2026-04-28 21:06:45 +00:00
2026-04-05 16:53:52 +00:00
2026-04-07 20:46:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-28 20:31:34 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-27 17:06:47 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-28 20:31:34 +00:00
2026-03-08 19:48:32 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-05 20:55:39 +00:00
2024-11-28 21:45:39 +01:00
2024-11-28 21:45:39 +01:00
2025-08-20 20:23:29 +02:00
2025-08-20 20:23:29 +02:00
2026-01-19 18:07:28 +00:00
2025-10-07 19:19:43 +00:00
2025-10-07 19:19:43 +00:00
2026-01-26 19:40:37 +00:00
2026-02-09 18:35:43 +00:00
2025-08-18 21:40:40 +02:00
2025-08-18 21:40:40 +02:00
2026-01-19 18:07:28 +00:00
2026-01-26 19:40:37 +00:00
2026-01-26 19:40:37 +00:00
2025-06-29 17:51:33 +02:00
2025-06-30 20:28:46 +02:00
2025-06-24 21:17:25 +02:00
2025-06-24 21:17:25 +02:00
2026-01-19 18:07:28 +00:00
2025-07-09 19:43:51 +02:00
2025-07-09 19:43:51 +02:00
2026-01-26 19:40:37 +00:00
2026-02-09 18:35:43 +00:00
2025-06-23 19:52:42 +02:00
2025-06-23 19:52:42 +02:00
2026-02-14 15:19:10 +00:00
2026-04-20 18:24:17 +00:00
2026-03-12 18:49:38 +00:00
2026-02-14 15:19:10 +00:00
2026-03-25 22:11:55 +00:00
2026-03-25 22:11:55 +00:00
2026-01-19 18:07:28 +00:00
2026-03-31 15:49:44 +00:00
2026-03-31 15:49:44 +00:00
2026-01-26 19:40:37 +00:00
2026-01-26 19:40:37 +00:00
2026-03-25 22:10:09 +00:00
2026-03-25 22:10:09 +00:00