Early implementation of Verbatim mode
This commit is contained in:
@@ -11,6 +11,7 @@ bitflags! {
|
||||
const EX = 0b0001000;
|
||||
const OP_PENDING = 0b0010000;
|
||||
const REPLACE = 0b0100000;
|
||||
const VERBATIM = 0b1000000;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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(());
|
||||
|
||||
Reference in New Issue
Block a user