Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Doesn't really feel like the shell would be the right place to do this, as the shell really has no idea, in most cases, of the output history. The whole idea of the scrollback is in the terminal, so it'd probably be, ultimately, the terminal that is the source of this information.

kitty probably has some abilities to do this easily from the shell, as it has all sorts of abilities to interact programmatically with the scrollback history.



Good point.

How about starting tmux by default inside a terminal, rather than running the shell directly inside the terminal?

Of course, an ssh session would also need to start tmux.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: