Terminal size won't updated after resized if dvtm started using su -c
McSinyx opened this issue · comments
Nguyễn Gia Phong commented
After running su -c dvtm
, I shrink the terminal width and try to open Vim and it doesn't seem to recognize the new size:
The bug isn't limited to programs with alternate screen as in #47 but also with cat
. These pictures show the output of the command ran:
The problem could be avoided if one uses sudo
instead but I'm curious about the reason behind this.
Edit: I'm using dvtm 0.15.2 provided by Debian testing repository.