fix: render control codes in mini buffer input with unicode control code symbols
closes #236
This commit is contained in:
parent
993add1a43
commit
e39d9ed4b3
7 changed files with 24 additions and 8 deletions
|
@ -60,7 +60,7 @@ pub fn Create(options: type) type {
|
|||
fn update_mini_mode_text(self: *Self) void {
|
||||
if (tui.mini_mode()) |mini_mode| {
|
||||
mini_mode.text = self.input.items;
|
||||
mini_mode.cursor = tui.egc_chunk_width(self.input.items, 0, 8);
|
||||
mini_mode.cursor = tui.egc_chunk_width(self.input.items, 0, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue