Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.49k stars 570 forks source link

Feature request: allow tab icons to be set as text emojis #2281

Open eugenesvk opened 3 years ago

eugenesvk commented 3 years ago

Versions

ConEmu build: 210206 x64 OS version: Windows 10.0.19042.0 x64 Used shell version: PowerShell 7.2

Problem description

Currently tasks can set task-specific icons that appear on the left-hand side of a tab via /icon "C:\path\to\icon.ico" task parameter I was wondering whether it's possible to add a feature to use text emojis, e.g. 🐟, instead of icons (I know it's possible in the Tab bar settings, but those are universal settings, not task-specific)

Steps to reproduce

  1. Set any Startup/Tasks with Task parameter: /icon "🐟"
  2. Launch this task

Actual results

Tab's icon is empty

Expected results (if this feature is implemented)

Tab's icon is 🐟

Maximus5 commented 3 years ago

Hm... No. The icon is an image, which is set via Windows API in the tab bar control. But what you are talking about - is a text.

For now, the only possible way is naming your tab using this emoji. There is -new_console:t switch.

Maximus5 commented 3 years ago

https://conemu.github.io/en/NewConsole.html

eugenesvk commented 3 years ago

The icon is an image, which is set via Windows API in the tab bar control. But what you are talking about - is a text.

Is Windows Terminal using some other Windows API? It can accept both an image and a text as an input to the tab's "icon" field

For now, the only possible way is naming your tab using this emoji. There is -new_console:t switch.

Unfortunately, this prevents my shell from dynamically customizing tab's name :(