Coder Social home page Coder Social logo

Comments (7)

ihalila avatar ihalila commented on September 15, 2024 1

Turns out that it's PDCurses doing the output, check out lines 67 - 71 in pdckbd.c: https://github.com/Bill-Gray/PDCurses/blob/master/win32a/pdckbd.c#L67

Don't know why it does it, first impression is that it's some left-over debugging code. I recommend opening an issue over in Bill-Gray's PDCurses repo, that fork is maintained and pancurses uses it instead of the "official" one.

from pancurses.

ihalila avatar ihalila commented on September 15, 2024 1

v0.11 has an updated dependency on pdcurses-sys, which is also now updated. No more debug info should appear!

from pancurses.

Lokathor avatar Lokathor commented on September 15, 2024

Edit: I thought it was crashing the program at first while using the demo in the readme, but then I realized that it was just causing the window.getch() call to complete and then end the program normally.

from pancurses.

Lokathor avatar Lokathor commented on September 15, 2024

To be clear: it still dumps the debug info to the console, despite my initial misunderstanding about the crashing part.

from pancurses.

ihalila avatar ihalila commented on September 15, 2024

Ah, ok. I'll look into it then.

from pancurses.

Lokathor avatar Lokathor commented on September 15, 2024

They pushed a new commit that fixes the issue:

Bill-Gray/PDCursesMod@6dbc199

Now pdcurses-sys needs to target the new version, and then pancurses needs to update to the newer version of pdcurses-sys.

from pancurses.

ihalila avatar ihalila commented on September 15, 2024

Cool, I'll update pdcurses-sys soon and push a new version of pancurses.

from pancurses.

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.