why you want to build new terminal multiplexer? Is there issues with current? tmux or zellij?

Still very interested. Especially if you will go further than terminal - multiplexer for window environment, not just in terminal