dundargoc
743860de40
test: replace lfs with luv and vim.fs
...
test: replace lfs with luv
luv already pretty much does everything lfs does, so this duplication
of dependencies isn't needed.
2023-04-04 21:59:06 +02:00
bfredl
43e8ec92de
fix(tui): more work in the TUI
2022-12-31 13:25:26 +01:00
dundargoc
5eb5f49488
test: simplify platform detection ( #21020 )
...
Extend the capabilities of is_os to detect more platforms such as
freebsd and openbsd. Also remove `iswin()` helper function as it can be
replaced by `is_os("win")`.
2022-11-22 08:13:30 +08:00
dundargoc
736c36c02f
test: introduce skip() #21010
...
This is essentially a convenience wrapper around the `pending()`
function, similar to `skip_fragile()` but more general-purpose.
Also remove `pending_win32` function as it can be replaced by
`skip(iswin())`.
2022-11-13 05:52:19 -08:00
Gregory Anders
5d159a7faa
feat(tui): query terminal for CSI u support ( #18181 )
...
On startup query the terminal for CSI u support and enable it using
the escape sequence from kitty's progressive enhancement protocol [1].
[1]: https://sw.kovidgoyal.net/kitty/keyboard-protocol/
2022-04-25 20:49:45 -06:00
Björn Linse
f707a7ef68
terminal: add tests for palette color forwarding
2019-11-03 10:14:58 +01:00
Justin M. Keyes
fd0fd752c8
terminal: swap priority of terminal, editor highlights
...
closes #9964
2019-05-02 09:56:22 +02:00
Justin M. Keyes
32a30d90b4
highlight: Fix missing .rgb_sp_color in initializers ( #9287 )
...
terminal_get_line_attributes() had this bug for a long time, though it
likely had no effect visible to users.
ref #9028
ref 60f845ca55
2018-11-30 21:13:01 +01:00
Justin M. Keyes
be2a3ddd58
test: "Command-line option -s": avoid indeterminism ( #8305 )
...
closes #8303
2018-04-21 03:15:18 +02:00
b-r-o-c-k
387fbcd95c
win: Fix reading from stdin
...
* Reading from stdin on Windows is fixed in the same way as it was in
#8267 .
* The file_read function was returning without filling the
destination buffer when it was called with a non-blocking file
descriptor.
2018-04-14 14:21:36 -05:00
ZyX
62108c3b0b
functests: Disable system(-s -) test on Windows
...
Assume something with system() if second test hangs as well. Assume something
with reading stdin if not.
2017-03-23 21:06:39 +03:00
ZyX
99b4f25b99
functests: Do not run termopen test on Windows
2017-03-23 21:04:45 +03:00
ZyX
7df4fc8941
functests: Test -s errors
2017-03-19 18:53:21 +03:00
ZyX
fdfa1ed578
main: Temporary fix assertion error
...
This variant uses `fdopen()` which is not standard, but it fixes problem on my
system. In next commit `scriptin` will use `FileDescriptor*` from os/fileio in
place of `FILE*`.
2017-03-19 16:09:48 +03:00
ZyX
d2268d5ebb
functests: Do not check stdout, it is different on Windows
2017-03-19 14:13:21 +03:00
ZyX
29654cfee7
functests: Fix testlint errors
2017-03-19 14:13:21 +03:00
ZyX
d4639ea6d9
functests: Use Neovim instance and system() in place of lua io.popen
2017-03-19 14:13:21 +03:00
ZyX
38687ee394
functests: Make sure that line ending is LF and not CRLF
2017-03-19 14:13:21 +03:00
ZyX
1ea7541f65
functests: Alter the order of checks
...
Check whether `repeated_read_cmd` returned nil and did not actually run nvim or
it did, but still returned nil for whatever reason.
2017-03-19 14:13:21 +03:00
ZyX
3cd7bf31e2
tests: Fix repeated_popen_r usage, rename the function
2017-03-19 14:13:21 +03:00
ZyX
0e9286a19e
tests: Fix CI failures
2017-03-19 14:13:21 +03:00
ZyX
0320a58082
functests: Check that -s
works as expected
2017-03-19 14:13:21 +03:00