Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Term change size after extra window appear #335

Open
mmazz opened this issue Dec 19, 2021 · 0 comments
Open

Term change size after extra window appear #335

mmazz opened this issue Dec 19, 2021 · 0 comments
Labels

Comments

@mmazz
Copy link

mmazz commented Dec 19, 2021

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 mmazz added the bug label Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant