tig icon indicating copy to clipboard operation
tig copied to clipboard

Feature request – a view with a terminal window?

Open psprint opened this issue 2 years ago • 1 comments

Would it be hard to add view-terminal, that would provide a view with a terminal (embedded), like e.g.: in Vim (:terminal to open it)? Would be a patch providing such support be accepted?

psprint avatar Jun 20 '22 14:06 psprint

Quite hard yes. Tig was built as an enhanced pager, it runs some commands, captures the output and displays it. To support a terminal view, you'd need to create a pty and interact with it. Tig's prompt handling, especially the readline integration would have to be completely rewritten.

koutcher avatar Jun 23 '22 17:06 koutcher