feat: add toggle_completion_info_mode command and keybindings

This commit is contained in:
CJ van den Berg 2026-02-05 16:48:23 +01:00
parent c1ae1fe25f
commit 1c2e1ae494
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
4 changed files with 36 additions and 3 deletions

View file

@ -339,6 +339,10 @@ fn close_all_panel_views(self: *Self) void {
tui.resize();
}
pub fn hide_info_view_panel(self: *Self) void {
self.toggle_panel_view(info_view, .disable) catch {};
}
fn check_all_not_dirty(self: *const Self) command.Result {
if (self.buffer_manager.is_dirty())
return tp.exit("unsaved changes");