Giter Site home page Giter Site logo

Comments (7)

nsf avatar nsf commented on July 30, 2024

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.

cardiffman avatar cardiffman commented on July 30, 2024

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.

nsf avatar nsf commented on July 30, 2024

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.

nsf avatar nsf commented on July 30, 2024

Take a look, should work now.

from termbox.

cardiffman avatar cardiffman commented on July 30, 2024

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.

nsf avatar nsf commented on July 30, 2024

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.

nsf avatar nsf commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.