News for hackers. Stuff that matters.
Re:Vim 8.0 released by JoshTriplett on Tuesday September 13, 2016 @02:29AM (#12486009)
Depends on how you implement it. neovim's implementation uses libvterm, which seems preferable to a from-scratch terminal implementation. Implementing a fully capable terminal emulator from scratch definitely isn't a weekend project.

neovim's approach links libvterm in via C. You could potentially do so via python and ctypes instead, but then you have to count on having a vim compiled with Python support.

Re:Vim 8.0 released by flukus on Tuesday September 13, 2016 @03:29AM (#12486207)
I was thinking I'd just start sh/cmd in a process and use stdin/stdout. The api even allows for automatically sending appended lines to stdin.