mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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.
This commit is contained in:
@@ -36,7 +36,6 @@ describe('Command-line option', function()
|
||||
os.remove(dollar_fname)
|
||||
end)
|
||||
it('treats - as stdin', function()
|
||||
if helpers.pending_win32(pending) then return end
|
||||
eq(nil, lfs.attributes(fname))
|
||||
funcs.system(
|
||||
{nvim_prog_abs(), '-u', 'NONE', '-i', 'NONE', '--headless',
|
||||
|
||||
Reference in New Issue
Block a user