Re: [kovidgoyal/kitty] Alert message when closing running terminal (#2788)

Domain: IP info
MX-server: IP info
Size: 2297 Bytes
Create: 2020-06-24
Update: 2020-07-06
Score: 0
Safe: Yes

Outbound domains: |

On Wed, Jun 24, 2020 at 06:23:27AM -0700, Adrien Luitot wrote:
> 1) I think you can, I didn't make a lot of test but I think that there is always the terminal, then the shell and then sub processes (See first image below). So you could check for all processes under kitty, check if they have sub processes, in the image below we can see that the first tab (first /bin/zsh) doesn't not contain processes, whereas the second one has a htop process (this technique even work with suspended processes).
> ![image](
> *(you can easily get subprocesses through `pgrep`)*

kitty python

not a shell. Can have subprocesses.

kitty ssh

not a shell can have subprocesses

kitty zsh

all are shells but the foreground sell has no subprocesses.

> 2) I think it's normal to not auto close a less or a ssh process.

why? they are just as much a candidate for safe closure as a shell.

> 3) What do you mean by scrollback ?

Press ctrl+shit+pgup

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Want to protect your real email from messages like this? Use TempM email and be more secure on the internet.