Skip to content

Commit 2ec942d

Browse files
committed
allow interruption in write_console
1 parent d9f4a6c commit 2ec942d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rchitect/callbacks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def cb_read_console(p, buf, buflen, add_history):
182182
return 1
183183

184184

185-
@ffi.def_extern()
185+
@ffi.def_extern(error=None, onerror=on_callback_error)
186186
def cb_write_console_capturable(buf, bufline, otype):
187187
text = rconsole2str(ffi.string(buf))
188188
console.write_console(text, otype)

0 commit comments

Comments
 (0)