ScratchPad icon indicating copy to clipboard operation
ScratchPad copied to clipboard

BUG: neovim has a panic attack when opening BetterTerm with scratchpad opened

Open Maritsu opened this issue 2 years ago • 1 comments

i use CRAG666's BetterTerm plugin for terminal management and this plugin for noting down things on-the-fly. however, when I have the scratchpad opened and open BetterTerm (MWE snippet that adds the keymap to open the terminal below), Neovim suddenly has a panic attack and everything gets resized weirdly (see screenshot below snippet).

require("betterTerm").setup({})
vim.keymap.set({"n","t"}, "<leader>to", require("betterTerm").open)

image

for clarification:

  • opening the scratchpad after opening the terminal works fine
  • opening the terminal with the scratchpad closed works fine
  • opening the terminal with the scratchpad open causes issues

Maritsu avatar Jul 28 '23 11:07 Maritsu

Thanks for documenting, I'll take a look into this over the weekend.

FraserLee avatar Jul 28 '23 12:07 FraserLee