2022-05-23 21:44:15 -07:00
|
|
|
-- Modules loaded here will NOT be cleared and reloaded by Busted.
|
2015-03-01 12:49:48 -07:00
|
|
|
-- Busted started doing this to help provide more isolation. See issue #62
|
|
|
|
-- for more information about this.
|
2024-04-20 08:44:13 -07:00
|
|
|
local t = require('test.testutil')
|
2022-12-28 16:20:42 -07:00
|
|
|
require('test.functional.ui.screen')
|
2019-09-11 04:47:23 -07:00
|
|
|
|
2024-04-20 08:44:13 -07:00
|
|
|
if t.is_os('win') then
|
2019-09-11 04:47:23 -07:00
|
|
|
local ffi = require('ffi')
|
|
|
|
ffi.cdef [[
|
|
|
|
typedef int errno_t;
|
|
|
|
errno_t _set_fmode(int mode);
|
|
|
|
]]
|
|
|
|
ffi.C._set_fmode(0x8000)
|
|
|
|
end
|