neoterm icon indicating copy to clipboard operation
neoterm copied to clipboard

Term change size after extra window appear

Open mmazz opened this issue 4 years ago • 0 comments

Describe the bug I'm using DWM. When I plot something in python using Ipython in one terminal and nvim in the other, the plot appear in an external window with full width. The problem is that when i quit that window, the neoterm for some reason expands. If I change the way that this external window appear, like with no full width and floating, this problem dissapear. So it's not an urgent problem, but it make me intrigue.

To Reproduce Steps to reproduce the behavior:

  1. Opened a neoterm shortcut with :Ttoggle
  2. Start ipython --no-autoindent
  3. Send code for plot in python
  4. Close the plot
  5. The width of the terminal change.

Screenshots/gifs Here is how I do it with a dummy example, and how it's look at the end.

  1. How it's appear at first: example

  2. How it's appear when I plot: exam2

  3. How it's appear after I close the plot: exam

Versions (Issues without this information will take longer to be answered/solved):

  • OS: Arch Linux, 5.15.5
  • neoterm commit master/e78179a

filetype off

let &runtimepath.=',~/.vim/bundle/neoterm'

filetype plugin on

let g:neoterm_bracketed_paste=1 let g:neoterm_size=70 let g:neoterm_default_mod = 'vertical' let g:neoterm_autoscroll=1 let g:neoterm_direct_open_repl=1 " Calling :Tclose or :Ttoggle kills the terminal let g:neoterm_keep_term_open=1

- Vim or Neovim
- [ ] vim
- [X] neovim
- 0.6

mmazz avatar Dec 19 '21 15:12 mmazz