mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Use Unsafe rather than Dangerous to be consistent
This commit is contained in:
@@ -72,7 +72,7 @@ func do_chunked_io(io_data *rc_io_data) (serialized_response []byte, err error)
|
||||
|
||||
queue_escape_code := func(data []byte) {
|
||||
lp.QueueWriteString(cmd_escape_code_prefix)
|
||||
lp.QueueWriteBytesDangerous(data)
|
||||
lp.UnsafeQueueWriteBytes(data)
|
||||
lp.QueueWriteString(cmd_escape_code_suffix)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user