p-e-w / ternimal

Simulate a lifeform in the terminal
GNU General Public License v3.0
1.06k stars 31 forks source link

Can it work in background and interact with other characters being outputted? #5

Closed vi closed 6 years ago

vi commented 6 years ago

It would be even nicer if one could Ctrl+Z to continue issuing more Bash/whatever commands (or even start ncurses things like Vim), yet background Ternimal still lived and also perceived non-whitespace characters as walls.

p-e-w commented 6 years ago

Cool idea, but unfortunately impossible to implement. Terminal emulators do not provide a way for programs to read characters at terminal cells, so Ternimal cannot "see" those walls.

vi commented 6 years ago

So it can allocate a pseudo-terminal itself, like /usr/bin/script.

p-e-w commented 6 years ago

Yeah, but that would be a bit out of scope for this project ;)