Giter Site home page Giter Site logo

Comments (3)

xPMo avatar xPMo commented on July 21, 2024

Looking at the functions in question, it seems that DISABLE_AUTO_TITLE has no effect, and the other parameters could all be made local. Editing the functions in the running session doesn't cause anything to break.

from warp.

dannyneira avatar dannyneira commented on July 21, 2024

Hi @xPMo Thanks for letting us know. I'm noticing similar behavior in other terminals as well, but not the extra blocks as in your screenshot. As a workaround, disable this just for Warp with the following conditional:

# Bash and Zsh
if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then
# > What you want to disable here <
  setopt warn_create_global
fi

We'll post any updates on this thread.

To anyone else facing this issue, please add aΒ πŸ‘Β to the original post at the top or comment with your details, and subscribe if you'd like to be notified.

from warp.

xPMo avatar xPMo commented on July 21, 2024

Thanks for the response! That's a decent workaround for now. TIL $TERM_PROGRAM is a thing, I guess it's a more common pattern on OSX.

Personally I'm going to leave it as-is to remind myself I can't use the variable $pids because Warp will overwrite it every command in warp_preexec.

from warp.

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.