+7
-0
lines changedFilter options
+7
-0
lines changed Original file line number Diff line number Diff line change
@@ -5965,6 +5965,13 @@ void grid_puts_len(ScreenGrid *grid, char_u *text, int textlen, int row, int col
5965
5965
clear_next_cell = true;
5966
5966
}
5967
5967
5968
+
// When at the start of the text and overwriting the right half of a
5969
+
// two-cell character in the same grid, truncate that into a '>'.
5970
+
if (ptr == text && col > 0 && grid->chars[off][0] == 0) {
5971
+
grid->chars[off - 1][0] = '>';
5972
+
grid->chars[off - 1][1] = 0;
5973
+
}
5974
+
5968
5975
schar_copy(grid->chars[off], buf);
5969
5976
grid->attrs[off] = attr;
5970
5977
if (mbyte_cells == 2) {
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