diff options
| author | Aram Drevekenin <aram@poor.dev> | 2020-10-14 14:10:21 +0200 |
|---|---|---|
| committer | Aram Drevekenin <aram@poor.dev> | 2020-10-14 14:10:21 +0200 |
| commit | 1e3fd9cc925b9b415750d390fb34538ee39f4e70 (patch) | |
| tree | 34e41189357c0136508c81370f2530bdbe6eabb6 /src/tests | |
| parent | refactor(boundaries): dynamic => static dispatch (diff) | |
| download | sl0ppij-1e3fd9cc925b9b415750d390fb34538ee39f4e70.tar.gz sl0ppij-1e3fd9cc925b9b415750d390fb34538ee39f4e70.tar.xz sl0ppij-1e3fd9cc925b9b415750d390fb34538ee39f4e70.zip | |
fix(colors): properly reset various ansi sequences
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/fakes.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/fakes.rs b/src/tests/fakes.rs index f18d63e2..9044ef0f 100644 --- a/src/tests/fakes.rs +++ b/src/tests/fakes.rs @@ -33,7 +33,8 @@ impl Read for FakeStdinReader { fn read(&mut self, buf: &mut [u8]) -> Result<usize, std::io::Error> { // ideally, we shouldn't have to sleep here // stdin should be buffered and handled in the app itself - ::std::thread::sleep(Duration::from_millis(50)); + // ::std::thread::sleep(Duration::from_millis(50)); + ::std::thread::sleep(Duration::from_millis(100)); let read_position = self.input_chars.read_position; buf[0] = self.input_chars.content[read_position]; self.input_chars.set_read_position(read_position + 1); |
