Comments (3)
A bit more clarification. I tested each print from https://github.com/MikeDacre/tmux-zsh-vim-titles/blob/master/unified-titles.plugin.zsh#L65-L73, none of them works with KDE's konsole and TERM=xterm-256color.
But it's still possible to do so by issuing echo -ne "\033]30;$PWD\007"
, this command successfully changes konsole's windows title. I don't know how portable is this and whether it works with other terminal emulators.
from tmux-zsh-vim-titles.
Hi @z0rc, apologies for the delay, I was travelling.
The window title actually just refers to the tmux window, not the application window. The application window title is the terminal title, so you are right that the window title is tmux specific.
As for konsole, it should be possible to use the ASCII control characters you suggest, I would need to detect that konsole is being used though. Do you know of a way to detect that konsole is being used from the command line?
from tmux-zsh-vim-titles.
% env | grep KONSOLE
KONSOLE_DBUS_SERVICE=:1.64
KONSOLE_DBUS_SESSION=/Sessions/1
KONSOLE_DBUS_WINDOW=/Windows/1
KONSOLE_PROFILE_NAME=Main
For example vim terminus uses those env vars to detect Konsole. See https://github.com/wincent/terminus/search?utf8=%E2%9C%93&q=KONSOLE&type=
from tmux-zsh-vim-titles.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmux-zsh-vim-titles.