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

From: notifications@github.com
Domain: IP info github.com
MX-server: IP info out-10.smtp.github.com
Size: 2297 Bytes
Create: 2020-06-24
Update: 2020-07-06
Score: 0
Safe: Yes

Outbound domains: github.com |

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](https://user-images.githubusercontent.com/23219818/85563882-508dd280-b61d-11ea-9787-0c4a4c273466.png)
> *(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
zsh
bash

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.