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
|
|
@ -174,7 +174,7 @@ fn handle_render_menu(self: *Self, button: *ButtonType, theme: *const Widget.The
|
|||
var removed_prefix: usize = 0;
|
||||
const max_len = self.view_cols / path_column_ratio;
|
||||
_ = button.plane.print("{s}:{d}", .{ root.shorten_path(&buf, entry.path, &removed_prefix, max_len - 7), entry.begin_line + 1 }) catch {};
|
||||
button.plane.cursor_move_yx(0, @intCast(max_len)) catch return false;
|
||||
button.plane.cursor_move_yx(0, @intCast(max_len));
|
||||
button.plane.set_style(style_separator);
|
||||
_ = button.plane.print(" ▏", .{}) catch {};
|
||||
switch (entry.severity) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue