Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict between Alt+F4 FAR hotkeys and Windows Terminal #845

Open
Zeroes1 opened this issue May 16, 2024 · 2 comments
Open

Conflict between Alt+F4 FAR hotkeys and Windows Terminal #845

Zeroes1 opened this issue May 16, 2024 · 2 comments

Comments

@Zeroes1
Copy link
Contributor

Zeroes1 commented May 16, 2024

Description of the new feature or improvement

Windows Terminal стал стандартом при запуске консольных приложений в Windows 11, в 10ке тоже пользуется популярностью.

Windows Terminal по дефолту имеет хоткей на Alt+F4 - закрывает WT со всеми вкладками без
предупреждения.

в FAR'e есть тоже хоткеи на Alt+F4:

  1. в настройке ассоциаций: Команда редактирования, выполняемая по Alt+F4:

  2. редактирование меню (F2) в виде текстового файла.

  3. в far:config - редактировать целое значение как двоичное число.

Предложение: как вариант чтобы не ломать существующие хоткеи, добавить альтернативные? [хотя бы для 2 и 3 пункта].

ps. ещё было в MacroBrowser - вызов немодального редактора, но Shmuz уже добавил альтернативу на Shift+F4.

Proposed technical implementation details (optional)

No response

@yegor-mialyk
Copy link
Contributor

While I understand the pain associated with intercepting certain key combinations by WT, I do not think the alternative combinations need to be implemented at the code level. However, it is perfectly fine to have them as macros provided "in the box" (Addons).

The reasons why I think so are:

  • There are many more intercepted key combinations besides Alt+F4 (the most commonly asked one is Ctrl+V).
  • It is possible to redefine keys in WT, including Alt+F4 (via Settings -> Actions).
  • Many users might not even notice that a new key combination has been added to Far Manager.

@Zeroes1
Copy link
Contributor Author

Zeroes1 commented May 17, 2024

@yegor-mialyk
I himsel remove Alt-F4 in WT (very dangerous action i think...), I'm worried about regular users (not advanced or pro)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants