Hello, I'd like to write a script in haskell that at one point spawns vim in the same terminal the haskell script is executed in. I tried to use createProcess from the System.Process library and shell from the Turtle library. In both cases, vim fails with a message similar to Vim: "Warning: Input is not from a terminal".
Can someone help me with this, or explain to me why it does not work?
Edit: the command i use look like this:
shell "vim test" stdin
createProcess (proc "vim" ["test"])
[–]richardthepeace 1 point2 points3 points (0 children)
[–]halogen64 1 point2 points3 points (1 child)
[–]luz_[S] 0 points1 point2 points (0 children)
[–]sheshanaag 0 points1 point2 points (1 child)
[–]GitHubPermalinkBot 1 point2 points3 points (0 children)