skywind3000 / asyncrun.vim

:rocket: Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!
https://www.vim.org/scripts/script.php?script_id=5431
MIT License
1.86k stars 111 forks source link

Terminal columns/width reported to be 80 columns #235

Open varac opened 2 years ago

varac commented 2 years ago

I noticed that the output of asyncrun is limited to 80 columns. The following python code determines my current terminal width:

$ python -c 'import shutil; print(shutil.get_terminal_size())'
os.terminal_size(columns=184, lines=52)

But when run with nvim/asyncrun.vim I only get 80 columns:

:AsyncRun python -c 'import shutil; print(shutil.get_terminal_size())' 

|| [python -c 'import shutil; print(shutil.get_terminal_size())']                                                                                                                       
|| os.terminal_size(columns=80, lines=24)                                                                                                                                               
|| [Finished in 1 seconds]   

It could be sth with my setup, but I don't know how to debug/fix this. Or is this a known issue ?