| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…ackend Add --with-curses=ncursesw|ncurses|curses|no, mirroring --with-readline. The default (auto) keeps the current behaviour: prefer ncursesw, fall back to ncurses. --with-curses=curses links the system's native curses (e.g. on NetBSD or Solaris), which has no pkg-config file and was previously unreachable; it is built with wide-character support when the library provides it. --without-curses excludes the curses and _curses_panel modules from the build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Documentation build overview6 files changed · ± 6 modified ± Modified |
Sorry, something went wrong.
The probe declared a wchar_t array whose subscript was mangled by m4 quoting, so it failed to compile and native curses was always detected as narrow. Use a wide string literal instead, with no brackets to quote. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ackend Detect the pkgsrc ncurses panel, which is installed as "gnupanel" (with a "gnu" prefix) so it does not clash with a system libpanel. Without this the panel search falls back to a mismatched system libpanel, and _curses_panel then operates on _curses windows from a different curses library and crashes. For the native "curses" backend, probe only the plain <curses.h>/<panel.h>: a system may also have ncurses headers, and picking those while linking the native library mixes incompatible declarations (e.g. tparm()) with the native <term.h>. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
Add --with-curses=ncursesw|ncurses|curses|no, mirroring --with-readline.
The default (auto) keeps the current behaviour: prefer ncursesw, fall back to ncurses. --with-curses=curses links the system's native curses (for example on NetBSD or Solaris), which has no pkg-config file and was previously unreachable; it is built with wide-character support when the library provides it. --without-curses excludes the curses and _curses_panel modules from the build.
This supersedes #136696, which added a boolean --disable-curses: --without-curses covers that request, and the option adds backend selection on top.