refactor: remove unused error return in Plane.put_yx and Plane.cursor_move_yx
This commit is contained in:
parent
52dfc1e706
commit
2d5288aa6f
16 changed files with 46 additions and 46 deletions
|
|
@ -55,7 +55,7 @@ pub fn Options(context: type) type {
|
|||
const y, const x = self.plane.rel_yx_to_abs(0, pos + self.opts.padding + self.icon_width);
|
||||
tui.rdr().cursor_enable(y, x, tui.get_cursor_shape()) catch {};
|
||||
} else {
|
||||
self.plane.cursor_move_yx(0, pos + self.opts.padding + self.icon_width) catch return false;
|
||||
self.plane.cursor_move_yx(0, pos + self.opts.padding + self.icon_width);
|
||||
var cell = self.plane.cell_init();
|
||||
_ = self.plane.at_cursor_cell(&cell) catch return false;
|
||||
cell.set_style(theme.editor_cursor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue