mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
font/shaper: if char is 0, should send space to shaper
This commit is contained in:
@ -209,7 +209,10 @@ pub const RunIterator = struct {
|
||||
}
|
||||
|
||||
// Add all the codepoints for our grapheme
|
||||
try self.hooks.addCodepoint(cell.char, @intCast(cluster));
|
||||
try self.hooks.addCodepoint(
|
||||
if (cell.char == 0) ' ' else cell.char,
|
||||
@intCast(cluster),
|
||||
);
|
||||
if (cell.attrs.grapheme) {
|
||||
var it = self.row.codepointIterator(j);
|
||||
while (it.next()) |cp| {
|
||||
|
Reference in New Issue
Block a user