mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-09 03:49:27 +00:00
Use Unsafe rather than Dangerous to be consistent
This commit is contained in:
parent
081390b5a2
commit
a7f6105393
4 changed files with 11 additions and 11 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue