Closed mckellygit closed 4 months ago
Hi, I've updated my commit to add a new use_locked_title (bool) option (default==false) for this functionality. It seems like a better method to add a new feature for this then the original method. If there is a cleaner, better way please let me know. Or if this is not a worthwhile feature to add then I will close this PR. thx again for mlterm, -m
Perhaps a better name for this option is "allow_change_title" instead of "use_locked_title" ? If you think so, I will amend this PR commit. thx
Thank you very much. I merged your patch with a few fixes as follows.
Fixes: https://github.com/arakiken/mlterm/commit/4f404a6d4884faf4458641670cc7c16608594471 1) use_locked_title optioin can be changed dynamically by mlcc. e.g. $ mlcc use_locked_title switch 2) --locktitle/use_locked_title option ignores not only OSC 0 and 2 (changing a window title) but also OSC 1 (changing an icon title).
Thank you so much, really appreciated.
Hi,
Thank you for mlterm. One feature I'm used to in other terminals is the ability to set the window title and then don't allow an OSC seq to change it. Here is a hack attempt PR at that, where if the title is specified then it is locked. Another way would be a specific, separate lock_title option. What do you think ?
thx, -m