ex_ncurses
ex_ncurses copied to clipboard
Ncurses Nif for Elixir (or Erlang)
Hi, Is anyone aware if a pure Erlang version exists? I know the NIF code will remain the same but just wondering if someone has built or is aware of...
When I execute any of provided examples it shows error on terminal screen. `[error] Bad input fd in erts_poll()! fd=0, port=#Port, driver=fd, name=0/1` Most simple example to reproduce the error:...
Unfortunately it is impossible to build with escript any terminal app using ex_curses (and any apps using NIF) due to escript issue: [escript: wrong path for NIF libraries](https://github.com/elixir-lang/elixir/issues/5444#issuecomment-260178836). > Unfortunately...
When compiling on CentOS 7 the follow error occurs: ``` src/ex_ncurses.c: In function ‘ex_invoke’: src/ex_ncurses.c:715:5: error: ‘for’ loop initial declarations are only allowed in C99 mode for (size_t i =...
It would be ideal to have some form of unit testing. Things I've looked at so far: * `scr_dump` - dumps the screen. Unfortunately, this is in an ncurses internal...
Currently ex_ncurses uses the stdin/stdout of the console that started it. You can specify a different tty to `initscr/1`, but this doesn't help for the remsh case since there's no...
I have played a bit with ex_ncurses, but have not found how to exit properly ncurses mode: ``` ExNcurses.n_begin() ExNcurses.noecho() IO.puts(inspect(ExNcurses.getch())) ExNcurses.n_end() ``` I would have expected that after pressing...