hello , i tried to build a kind of terminal multiplexer such as zellij or tmux where process will be launched inside a ncplane, but a find the ncfdplane and ncsubproc definitions not so clear.
I.E, the function ncfdplane_create(), take one parameter named " int fd", suppose i want to use the pair of pseudo-terminal master and slave, which one those should i use as a file descriptor parameter for ncfdplane_create() ?, one more thing!, is those function pointer (ncfdplane_calllback) and (ncfplane_done_cb) absolutly neccesary ?,
please if possible provide some example about the way to implement a process laushing to ncplane, or at least more information about those function.
Thank.
hello , i tried to build a kind of terminal multiplexer such as zellij or tmux where process will be launched inside a ncplane, but a find the ncfdplane and ncsubproc definitions not so clear. I.E, the function ncfdplane_create(), take one parameter named " int fd", suppose i want to use the pair of pseudo-terminal master and slave, which one those should i use as a file descriptor parameter for ncfdplane_create() ?, one more thing!, is those function pointer (ncfdplane_calllback) and (ncfplane_done_cb) absolutly neccesary ?, please if possible provide some example about the way to implement a process laushing to ncplane, or at least more information about those function. Thank.