It works! As I am using tmux just for the scrollback and paste capabilities I am not worried with losing sessions.
Maybe I'll write a suckless multiplexer for this sometime. On Wed, Apr 16, 2014 at 06:36:15AM +0200, Christoph Lohmann wrote: > Greetings. > > On Wed, 16 Apr 2014 06:36:15 +0200 Amadeus Folego <amadeusfol...@gmail.com> > wrote: > > Hi Guys, thank you for your feedback and taking your time to > > help me! > > > > I identified the issue. > > > > It looks like I am spawning st with tmux (e.g. st -e tmux), and the issue is > > that tmux is reparenting the process id to tmux's daemon. Example: > > > > tmux > > | > > \_newsbeuter > > | > > \_vim st.c > > > > It is not an issue with xmonad after all, and I can confirm that the > > issue happens on urxvt as well (e.g. urxvt -e tmux). > > > > I did not find any tmux option to disable this reparenting behaviour, so > > I guess I'll have to find another way to scroll the screen with st. :( > > Add > > set -g destroy-unattached on > > to your ~/.tmux.conf. Of course this will destroy every session you open > and needs to be explictly disabled. > > > Sincerely, > > Christoph Lohmann > >