Compare commits

...

2 commits

Author SHA1 Message Date
9f57d8ef28
fix: bump libvaxis grapheme cache size to 32kb
This fixes some graphemes getting lost on very large screens with a lot of
text on screen.
2025-11-26 12:08:46 +01:00
50a4336b8c
fix: incorrect line offset in goto_line_and_column 2025-11-26 12:06:56 +01:00
2 changed files with 3 additions and 2 deletions

View file

@ -30,8 +30,8 @@
.hash = "fuzzig-0.1.1-Ji0xivxIAQBD0g8O_NV_0foqoPf3elsg9Sc3pNfdVH4D",
},
.vaxis = .{
.url = "git+https://github.com/neurocyte/libvaxis?ref=main#164dfadbad9a5df529ade8e3f0e5c52939d27e81",
.hash = "vaxis-0.5.1-BWNV_M4yCQBLJYI9ooJL-8dstYnId58coiBeHhF4m9wz",
.url = "git+https://github.com/neurocyte/libvaxis?ref=main#035457cdb54f4c12caae6638b837c447447ae70d",
.hash = "vaxis-0.5.1-BWNV_NAyCQBgEcQ3hBKEqyWOJh4uDSm4mPvffsI10J5i",
},
.zeit = .{
.url = "git+https://github.com/rockorager/zeit?ref=zig-0.15#ed2ca60db118414bda2b12df2039e33bad3b0b88",

View file

@ -5692,6 +5692,7 @@ pub const Editor = struct {
dest.row -|= 1;
dest.col -|= 1;
dest = dest.from_pos(root, self.metrics);
dest.row += 1;
dest.col += 1;
if (have_sel)
sel = sel.from_pos(root, self.metrics);