trogdoro / xiki

A shell console with GUI features
http://xiki.org
Other
3.76k stars 208 forks source link

Interactive (PTY) commands #163

Open quark-zju opened 7 years ago

quark-zju commented 7 years ago

Interactive commands like vim do not work currently.

I think they could be made to work if we allocate new PTYs and forward the content in the buffer. It may sounds like reinventing tmux and may need a lot of work though.

Alternatively, saving the state of the existing screen and allowing vim to take control of the existing TTY might be an easier and also reasonable approach.