Removed extra copy from the ocaml-curses