Comments (3)
You are not mistaken. mkVty did offer no configuration of the terminal file descriptor. The methods for creating Output and Input structures that used specific file descriptors were not used by mkVty.
I've pushed a change that should resolve this: ddd61dd
This adds input and output file descriptors as optional properties of the Config structure. For your application a Config structure with inputFd and outputFd set appropriately can be passed to mkVty to achieve the desired effect.
I'm still testing this change, but plan on releasing once testing completes. Once my testing is complete I'll resolve this issue.
Thanks for the feedback! This was a good opportunity to resolve a historical oddity in vty.
from vty.
Thanks Corey that commit looks great. I appreciate you taking the time to read and respond to my issue. I look forward to more happy times with Vty!
from vty.
Included in: http://hackage.haskell.org/package/vty-5.2.0
from vty.
Related Issues (20)
- Could `Event` use `Set Modifier` instead of `[Modifier]`? HOT 3
- build failure on GHC 9.4 due to removed instance MonadFail (ST s) HOT 6
- Evaluate feature parity between Windows Terminal sequences and existing backends HOT 48
- Problems Building HOT 2
- Assessing the possibility of implementing image protocols like sixel HOT 22
- `test:verify-terminal` fails to build with `unix-2.8.*` HOT 5
- Mouse movement events HOT 2
- Preparing for vty multi-platform release HOT 44
- List of problems with EventEcho on windows HOT 6
- vty-mode-demo HOT 4
- Potential Bug (mkVty on ghci)? HOT 1
- Support FocusIn/FocusOut HOT 3
- vty-interactive-terminal-test looks like a good candidate to cross-platofrm migration HOT 13
- Early input triggers segfault HOT 6
- Examples have bitrotten HOT 4
- Are separate vty-* packages really needed? HOT 4
- Fails to build with GHC-9.2.8 on windows HOT 6
- Problem updating to brick 2 HOT 4
- Tag 6.2. HOT 1
- Incorrect Width Calculation for Characters with Variation Selector-16 HOT 2
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 vty.