Oopss, I didn’t know I could send this directly inside nvim. Well I did it. The response is screen-256color on both nvim windows.
> Il giorno 07 nov 2017, alle ore 21:15, Nicholas Marriott > <[email protected]> ha scritto: > > > Try :echo $TERM > > > > On Tue, Nov 07, 2017 at 09:07:54PM +0100, Daniele Bruzzi wrote: >> Hi Nicholas, >> >> the only way I know to check TERM in a tmux window running a nvim session is >> opening a terminal emulator inside nvim itself with: >> :terminal. >> After that, if I type ???echo $TERM??? it gives me >> xterm-256color >> while in a ???normal??? bash tmux window it says >> screen-256color. >> I don???t know if this adds some elements to you. >> Tell me if you need more. >> >> Thank you >> >> >>> Il giorno 07 nov 2017, alle ore 20:34, Nicholas Marriott >>> <[email protected]> ha scritto: >>> >>> Hi >>> >>> Are you sure TERM is the same in both tmux windows? >>> >>> >>> >>> On Tue, Nov 07, 2017 at 05:44:32PM +0100, Daniele Bruzzi wrote: >>>> I am on macOS Sierra 10.12.6. I use iTerm2, build 3.1.4, and run on one of >>>> its tabs a Tmux session loaded with: >>>> teamocil [session] >>>> >>>> In one of tmux windows there's an instance of nvim working smoothly, >>>> everything is displayed in its own place in all of the bottom three lines, >>>> from last one: tmux status bar, nvim command line, nvim status line. >>>> Here's the relevant shot: >>>> >>>> >>>> >>>> In another tmux window I want to use a nvim session, sourced with: >>>> nvim -S [path to session.vim] >>>> >>>> But here, in this nvim restored session, Tmux does not allow nvim to >>>> display messages in its command line, leaving no free lines between Tmux >>>> and nvim status lines. Whatever message displayed ovelaps status line, >>>> getting an unreadable mess. See following shot: >>>> >>>> >>>> >>>> Summing up, the problem appears only sourcing a nvim session in a Tmux >>>> window. >>>> Thank you. >>>> >>>> >>>> -- >>>> 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 post to this group, send an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >> -- 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 post to this group, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
