From 00a1d5700545541595f55315cd65c1349bf0755e Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Thu, 2 Oct 2025 10:26:15 -0400 Subject: [PATCH] fix missing key --- doc/cp.nvim.txt | 3 ++- lua/cp/ui/panel.lua | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/cp.nvim.txt b/doc/cp.nvim.txt index 5e918b7..6b8097b 100644 --- a/doc/cp.nvim.txt +++ b/doc/cp.nvim.txt @@ -535,7 +535,8 @@ RUN PANEL KEYMAPS *cp-test-keys* Navigate to previous test case (configurable via run_panel.prev_test_key) t Cycle through diff modes: none → git → vim -q Exit run panel/interactive terminal and restore layout +q Exit run panel and restore layout + Exit interactive terminal and restore layout Diff Modes ~ diff --git a/lua/cp/ui/panel.lua b/lua/cp/ui/panel.lua index 64082f1..60026b2 100644 --- a/lua/cp/ui/panel.lua +++ b/lua/cp/ui/panel.lua @@ -92,7 +92,7 @@ function M.toggle_interactive() vim.fn.chansend(vim.b.terminal_job_id, binary .. '\n') - vim.keymap.set('t', config.run_panel.close_key, function() + vim.keymap.set('t', '', function() M.toggle_interactive() end, { buffer = term_buf, silent = true })