+7
-1
lines changedFilter options
+7
-1
lines changed Original file line number Diff line number Diff line change
@@ -842,7 +842,7 @@ void nvim_echo(Array chunks, Boolean history, Dictionary opts, Error *err)
842
842
for (uint32_t i = 0; i < kv_size(hl_msg); i++) {
843
843
HlMessageChunk chunk = kv_A(hl_msg, i);
844
844
msg_multiline_attr((const char *)chunk.text.data, chunk.attr,
845
-
false, &need_clear);
845
+
true, &need_clear);
846
846
}
847
847
if (history) {
848
848
msg_ext_set_kind("echomsg");
@@ -1842,6 +1842,9 @@ static void write_msg(String message, bool to_err)
1842
1842
1843
1843
++no_wait_return;
1844
1844
for (uint32_t i = 0; i < message.size; i++) {
1845
+
if (got_int) {
1846
+
break;
1847
+
}
1845
1848
if (to_err) {
1846
1849
PUSH_CHAR(i, err_pos, err_line_buf, emsg);
1847
1850
} else {
Original file line number Diff line number Diff line change
@@ -521,6 +521,9 @@ static void nlua_print_event(void **argv)
521
521
const size_t len = (size_t)(intptr_t)argv[1]-1; // exclude final NUL
522
522
523
523
for (size_t i = 0; i < len;) {
524
+
if (got_int) {
525
+
break;
526
+
}
524
527
const size_t start = i;
525
528
while (i < len) {
526
529
switch (str[i]) {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4