aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-07-10 01:58:54 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2017-11-25 09:37:00 +0100
commit9acd7bfe25b5ea2b31ffbbdbd201f5f09afc4237 (patch)
tree10cc228ee599207a2298c437a48b582b66b93887 /test/helpers.lua
parenta97cdff14df1bb788a4b659e0db94e2b2ba1f539 (diff)
downloadrneovim-9acd7bfe25b5ea2b31ffbbdbd201f5f09afc4237.tar.gz
rneovim-9acd7bfe25b5ea2b31ffbbdbd201f5f09afc4237.tar.bz2
rneovim-9acd7bfe25b5ea2b31ffbbdbd201f5f09afc4237.zip
tui: job-control: use saved termios for pty jobs
On startup, if running in a terminal, save the termios properties. Use the saved termios for `:terminal` and `jobstart()` pty jobs. This won't affect nvim spawned outside of a terminal. questions: - This affects `:terminal` and `jobstart({'pty':v:true})`. Should we be more conservative for `jobstart({'pty':v:true})` (e.g. pass NULL to forkpty() and let the OS defaults prevail)? - Note: `iutf8` would not be set in that case.
Diffstat (limited to 'test/helpers.lua')
0 files changed, 0 insertions, 0 deletions