Early implementation of Verbatim mode

This commit is contained in:
2026-03-04 15:26:54 -05:00
parent 12267716be
commit 553330a858
10 changed files with 130 additions and 16 deletions

View File

@@ -11,6 +11,7 @@ bitflags! {
const EX = 0b0001000;
const OP_PENDING = 0b0010000;
const REPLACE = 0b0100000;
const VERBATIM = 0b1000000;
}
}

View File

@@ -284,7 +284,7 @@ pub fn read_key(node: Node) -> ShResult<()> {
}
Ok(n) => {
let mut reader = PollReader::new();
reader.feed_bytes(&buf[..n]);
reader.feed_bytes(&buf[..n], false);
let Some(key) = reader.read_key()? else {
state::set_status(1);
return Ok(());