MCPcopy Create free account
hub / github.com/antirez/ds4 / editor_queue_bytes

Function editor_queue_bytes

ds4_agent.c:8709–8714  ·  view source on GitHub ↗

Queue raw terminal bytes into linenoise while preserving paste envelopes and * filtering cursor-position replies. */

Source from the content-addressed store, hash-verified

8707 */
8708
8709#define AGENT_BASH_HEAD_BYTES (8*1024)
8710#define AGENT_BASH_HEAD_LINES 100
8711#define AGENT_BASH_TAIL_BYTES (32*1024)
8712#define AGENT_BASH_PROGRESS_TAIL_LINES 4
8713#define AGENT_BASH_FINAL_TAIL_LINES 20
8714
8715struct agent_bash_job {
8716 pthread_t thread;
8717 pthread_mutex_t mu;

Callers 2

editor_read_stdinFunction · 0.85
editor_query_cursorFunction · 0.85

Calls 2

editor_filter_input_byteFunction · 0.85

Tested by

no test coverage detected