Giter Site home page Giter Site logo

Comments (8)

towry avatar towry commented on August 16, 2024

Seems I have to explicitly put zstyle ':z4h:' start-tmux no, now the $TERM variable is not 'tmux-256color' anymore which I think is correct.

from zsh4humans.

towry avatar towry commented on August 16, 2024

I am using below to disable shell integration in nvim terminal:

# .zshrc

if [ -n "$NVIM" ]; then
# disable shell integration
else
# enable
fi

For the fzf display issue, i don't know. what to do, maybe live with it for now. I think it's fzf issue.

from zsh4humans.

edshamis avatar edshamis commented on August 16, 2024

I am using below to disable shell integration in nvim terminal:

if [ -n "$NVIM" ]; then
# disable 
else
# enable
fi

For the fzf display issue, i don't know. what to do, maybe live with it for now.
@towry
Where does $NVIM come from?

from zsh4humans.

towry avatar towry commented on August 16, 2024

@edshamis

https://neovim.io/doc/user/deprecated.html

search "$NVIM"

from zsh4humans.

edshamis avatar edshamis commented on August 16, 2024

I had the same issue. Thanks for the solution. Btw you can do it with one line:

[[ -z $NVIM ]] && zstyle ':z4h:' term-shell-integration 'yes'

@romkatv I wonder if it's a proper way to solve the issue and it has no drawbacks

from zsh4humans.

romkatv avatar romkatv commented on August 16, 2024

This would be a bug in nvim: it's not discarding unrecognized CSI sequences. I cannot reproduce this with nvim v0.4.3 though. Which version are you using?

I've pushed a commit that disables terminal integration in shells that run under nvim. Please run z4h update, then close all shells, start a new one, and verify that it works.

from zsh4humans.

towry avatar towry commented on August 16, 2024

Just updated z4h and the issue in first picture is gone.

from zsh4humans.

romkatv avatar romkatv commented on August 16, 2024

Thanks for verifying.

from zsh4humans.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.