Git Product home page Git Product logo

Comments (12)

sunaku avatar sunaku commented on August 18, 2024 5

Okay, I've got it! :neckbeard: MacOSX users, please try these settings with tmux 2.2:

export EVENT_NOKQUEUE=1
export EVENT_NOPOLL=1

These magic environment variables come from tmux's MacOSX-specific osdep_event_init() function, whose source code is available at https://github.com/tmux/tmux/blob/2.2/osdep-darwin.c#L77-L78.

Note: This is the same approach I followed for solving this issue in tmux 2.2 running under Linux. 🐧

from slimux.

sunaku avatar sunaku commented on August 18, 2024

Are you using tmux 2.2? It's a known issue: see tmux/tmux#416 and try this workaround. :neckbeard:

from slimux.

arifb avatar arifb commented on August 18, 2024

@sunaku Appreciate the tip - I am using tmux 2.2. Setting that environment variable doesn't do the trick however. I will try to pull in your patch and recompile tmux later today.

from slimux.

arifb avatar arifb commented on August 18, 2024

Rebuilt tmux including tmux/tmux#416 and the issue persists. If there is more debugging that would be helpful to provide, please let me know.

from slimux.

sunaku avatar sunaku commented on August 18, 2024

Oops, I missed the fact that you're on a Mac. 😅 The workaround and patch you tried only apply to Linux. Report this issue upstream at tmux: it might be a Mac-related issue that they (have yet to?) know about.

from slimux.

gzagatti avatar gzagatti commented on August 18, 2024

Hi @arifb did you managed to find a way around the problem. I'm having exactly the same issue after updating tmux and trying to export EVENT_NOEPOLL=1 as suggested in the link above. Did you have any luck in fixing the issue? I'm also using OS X.

from slimux.

arifb avatar arifb commented on August 18, 2024

@gzagatti I downgraded to tmux 2.1 for now

from slimux.

gzagatti avatar gzagatti commented on August 18, 2024

Yes @arifb I did the same and it works.

from slimux.

gzagatti avatar gzagatti commented on August 18, 2024

Thanks @sunaku it works like a charm

from slimux.

slashfoo avatar slashfoo commented on August 18, 2024

@arifb can you confirm that it works? I also just pushed a change that lets you specify the path to your tmux, this should allow for better flexibility.

I had an issue with the same symptoms when the tmux session was running one version and slimux found a tmux of another version, hopefully either the mention above or the configuration will alleviate the problem.

from slimux.

hlegius avatar hlegius commented on August 18, 2024

@slashfoo not sure if for @arifb worked, but I tried in tmux 2.2 and worked like a boss! 👍
Without those envs, vim crashes like described above.

from slimux.

slashfoo avatar slashfoo commented on August 18, 2024

thanks @hlegius I'll close this issue then.

from slimux.

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.