Comments (7)
Never tried it on cygwin. Frankly I don't like cygwin. But I'll take a look at it.
P.S. Termbox go version (github.com/nsf/termbox-go) has native windows implementation. But I'm a bit lazy to do the same for C version.
from termbox.
I have to work within Cygwin all the time and if termbox turns out to meet my needs I don't have to learn curses :) If you come up with anything to try, I'll try it.
from termbox.
Installed cygwin, I can confirm it doesn't work indeed and dies with the mentioned assert. I'll see what can be done within next 2-3 days.
from termbox.
Take a look, should work now.
from termbox.
It works, in that I can display stuff and read simple keystrokes, and winch doesn't cause a crash. I think there's an issue with key chords like CTRL+PGDN, though. If you run keyboard on Cygwin or Linux (Deb. Wheezy, gnome terminal) and press that combination, you'll just see the display of a "" key (SHIFT and the "`/" key highlighted) because that's the last character of the ANSI escape sequence. It seems like the sequence for CTRL+PGDN begins with a "CSI" (esc+"[") and ends with a "~". It does the same thing under xterm in the aforementioned Linux environment. I can start an issue for this if you like.
from termbox.
It's not an issue. Termbox simply doesn't support them. It supports only a common subset of keys most terminals support. And this is a rather limited subset.
from termbox.
I understand how inconvenient it is, but that's how it is. There is no way to detect an unknown key sequence.
from termbox.
Related Issues (20)
- Feature request: enable and generate focus gained/lost events
- Termbox does not start in LXC HOT 2
- Delayed ESC event in INPUT_ESC mode HOT 4
- Build failure on OpenBSD: SIGWINCH HOT 1
- Port https://github.com/nsf/termbox-go/issues/185 HOT 3
- demo doesnt work on Beaglebone
- Python.h: No such file or directory HOT 4
- TB_OUTPUT_256: Cannot use black / write CSI 38;5;0
- Improper select() error handling HOT 3
- Does not work with Python 3.7 HOT 4
- Confution about output mode 216
- KeyCtrlArrow<Up/Down/Left/Right> support HOT 1
- no pkg-config .pc file found HOT 4
- How to build demo examples.
- Documentation of the API could be more helpful HOT 1
- Is this a C library? HOT 2
- Are extended terminfo files being correctly parsed? HOT 2
- Allow reading the front buffer?
- tb_peek_event() buffers inputs with sleep_for() c++11 HOT 1
- Documentation: Termbox crystal-lang wrapper. HOT 3
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 termbox.