Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erts: Fix prim_tty nif to compile with GNU termcap #7533

Commits on Aug 3, 2023

  1. erts: Fix prim_tty nif to compile with GNU termcap

    termcap.h contains the prototypes of the functions
    we need and is available in both curses and GNU termcap.
    
    However, GNU termcap has tputs defined as returning void
    intead of int, so we handle that by ignoring the return
    value. tputs cannot fail with the input we give it.
    
    closes erlang#7381
    garazdawi committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    f9c1181 View commit details
    Browse the repository at this point in the history