aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_process_unix.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-02-17 11:32:18 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-02-22 21:15:16 +0100
commitd3dc94615523a71606edcbe6bf528f8b49a78c7d (patch)
treed7a530ea641fc0959154ca508085f40d7d82349c /src/nvim/os/pty_process_unix.c
parent6bd6927656500c50787b16de1fadf1bc46b7aefa (diff)
downloadrneovim-d3dc94615523a71606edcbe6bf528f8b49a78c7d.tar.gz
rneovim-d3dc94615523a71606edcbe6bf528f8b49a78c7d.tar.bz2
rneovim-d3dc94615523a71606edcbe6bf528f8b49a78c7d.zip
TUI: rework background-color detection
- Like Vim, use set_option_value() followed by reset_option_was_set(). - Do not use set_string_default(), so the default is predictable. This affects `:set bg&`. - Wait until end-of-startup (VimEnter) to handle the response. The response is racey anyways, so timing is irrelevant. This allows OptionSet to be triggered, unlike during startup.
Diffstat (limited to 'src/nvim/os/pty_process_unix.c')
0 files changed, 0 insertions, 0 deletions