Git Product home page Git Product logo

Comments (4)

hut avatar hut commented on May 18, 2024

Sorry for the late answer. I implemented this, but after ranger quits, the title is still ranger. Is this bad or is this the expected behaviour? I don't use this feature of tmux myself, can you comment on that?

from ranger.

adam8157 avatar adam8157 commented on May 18, 2024

Yes. And you can leave another title when ranger quiting, like Vim(:set title), it leaves a "Thanks for flying Vim" title.

PS, echo -ne "\033]0;ranger\007" works too.

from ranger.

hut avatar hut commented on May 18, 2024

I guess I can close this issue, if there is no need (probably not even a way) to revert the title after ranger quits

from ranger.

adam8157 avatar adam8157 commented on May 18, 2024

Great, it works, thanks!

PS, I found there was a setting option named "update_title". Actually, screen & tmux's window name is the same thing as terminal's title.

The shortage of "update_title" are: 1, It will be better if it just prints "ranger" for screen and tmux, not "ranger: /path/blah/", or configure-able. 2, setting title everytime when creates ui(as update_tmux_title does) can avoid it becoming other string if user has dynamic title settings and enter shell by "S".

from ranger.

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.