Skip to content

Commit 24e9250

Browse files
authored
Merge pull request #84 from AlexB52/mac-os-menu-issue
Add MacOS directives to install curses with menu support
2 parents 4761c49 + 1edd00c commit 24e9250

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ However, if you prefer ncurses to PDCurses, specify the following option:
3737

3838
On mingw, you need DevKit to compile the extension library.
3939

40+
On MacOS, `ncurses` menu isn't natively supported. You can install the gem with menu support using homebrew:
41+
42+
brew install ncurses
43+
gem install curses -- --use-system-libraries --with-ncurses-dir=/usr/local/opt/ncurses
44+
45+
_with `/usr/local/opt/ncurses` the path where homebrew installed ncurses on your machine_
46+
4047
## Documentation
4148

4249
See [https://www.rubydoc.info/gems/curses](https://www.rubydoc.info/gems/curses).

0 commit comments

Comments
 (0)