Comments (2)
Hi Tero,
Thanks for this detailed report! I would agree with your suggestion to suppress stderr output. Would it possible for you to change this line to:
result = system(*args, out: out.path, err: File::NULL)
and test on your local system. It would be really helpful if you could fork the project and submit PR in case the issue is solved!
As far as your issues with Alpine Linux vs Ubuntu go, I would think it is due to PTY
module implementation. The PTY
uses system specific pseudo terminal which may have very different behaviour between platforms in my experience. Also, rspec
detects if it is running interactively or not and changes behaviour accordingly. I'm would be inclined to think that the real culprit is the PTY
module and changing it to use process spawning would solve the issue. However, I'm happy to have this issue resolved in tty-screen
to make it more robust for any conditions.
from tty-screen.
Released v0.6.4
with your patch - thanks!
from tty-screen.
Related Issues (10)
- TTY::Screen.width not respecting my Terminal window size HOT 5
- Error with 0.8.0 - NoMethodError: undefined method `ioctl' for #<StringIO> HOT 9
- "TTY::Screen#size_from_ioctl reads terminal size" test fails on big endian systems HOT 5
- `TTY::Screen#size_from_ioctl reads terminal size` is failing in s390x HOT 2
- Method size returns [1,1] on Windows (mingw) when no TTY is present HOT 2
- undefined method `get_screen_size' for Readline:Module HOT 6
- Operation not supported on socket @ rb_ioctl HOT 1
- tty/version.rb in both tty-screen and tty-cursor HOT 2
- Question re: screen resizing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tty-screen.