Run ncurses programs from Textadept #16
Unanswered
BrandonIrizarry
asked this question in
Q&A
Replies: 1 comment
-
`textadept.run.run()` references `textadept.run.run_commands`, but spawns as a non-terminal process. You would have to manually invoke `os.spawn()` with an xterm and then your run command in it. The message buffer can send input to a `textadept.run.run()`-spawned process via stdin, but I don't think that would work for a full-blown ncurses program.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
(running x86_64 linux, Textadept 11.0)
I was wondering how I could use the 'textadept.run.run_commands' feature, along with 'os.spawn' and possibly 'events.connect(events.RUN_OUTPUT...' to run an ncurses binary in a separate terminal (say xterm) window. Normally, Textadept will run the binary inside a Message buffer, but I would (naturally) need an ncurses program to run inside its own terminal window.
Beta Was this translation helpful? Give feedback.
All reactions