You would need to make your shell write it somewhere that you can read, tmux has no way to read what it inside a running shell.
On Tue, 22 Oct 2024 at 10:05, Ram Rachum <[email protected]> wrote: > Hi everyone. > > I use tmux through Bybou, and inside I have a zsh shell with Oh My Zsh. > > I want to have a way to access the command history of a given tmux pane, > i.e. something like the output of history 1, except I want to specify a > pane ID and get the history output for that pane. I want this for a > keyboard-bound action which could run while the specified pane is busy with > some long-running command. Is that possible? > > > Thanks for your help, > Ram Rachum. > > -- > You received this message because you are subscribed to the Google Groups > "tmux-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/tmux-users/57045707-cbf1-44c4-b6f2-af9076364924n%40googlegroups.com > <https://groups.google.com/d/msgid/tmux-users/57045707-cbf1-44c4-b6f2-af9076364924n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/CAEdLfcFn50a9EJpAr4SGXURoxSJf-ngAef3i1BMg5QsVJ%2BbnpQ%40mail.gmail.com.
