Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
59.43k stars 3.4k forks source link

zoom in/out current window with split vim inside crashes #8747

Open daishengdong opened 1 year ago

daishengdong commented 1 year ago

Version: 1.0.197 Platform: Windows x64 10.0.19044 Plugins: none Frontend: xterm-webgl

  1. open multiple windows in one screen(split the screen with shortcut key ctrl + shift + E and ctrl + shift + D)
  2. then open a split(vertical split I often use)vim in one window
  3. then zoom in(maximize current window with shortcut key ctrl + alt + enter)
  4. edit and save in vim
  5. then zoom out(restore current window with shortcut key ctrl + alt + enter)

it often crashes on my environment after step 5, i.e., no response will tabby answer whatever key I press, have to kill the process then restart tabby.

daishengdong commented 1 year ago

it seems not only the split vim scenario crashes, as long as the window has massive characters inside, there will be a great chance that zoom in/out will crash. empirically, the split vim which is editing a huge text(has massive characters inside) has a greater chance to crash, the one editing small text trends to be safe(during zoom in/out).