diff --git a/CHANGELOG.D/3005.bugfix b/CHANGELOG.D/3005.bugfix new file mode 100644 index 000000000..03c4a1e86 --- /dev/null +++ b/CHANGELOG.D/3005.bugfix @@ -0,0 +1 @@ +Do not perform terminal settings reset in PyCharm while it causes screen cleanup. diff --git a/neuro-cli/src/neuro_cli/root.py b/neuro-cli/src/neuro_cli/root.py index 11178eb3c..e746eb684 100644 --- a/neuro-cli/src/neuro_cli/root.py +++ b/neuro-cli/src/neuro_cli/root.py @@ -142,7 +142,10 @@ def close(self) -> None: finally: sys.stderr = sys.__stderr__ - self.soft_reset_tty() + if os.environ.get("TERMINAL_EMULATOR") not in ( + "JetBrains-JediTerm", # https://github.com/JetBrains/jediterm/issues/273 + ): + self.soft_reset_tty() def run(self, main: Awaitable[_T]) -> _T: return self._runner.run(main) diff --git a/towncrier.toml b/towncrier.toml index 7feef9990..10a767ff0 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -4,5 +4,5 @@ directory = "CHANGELOG.D" filename = "CHANGELOG.md" name = "Neuro SDK/CLI" - issue_format = "[#{issue}](https://github.com/neuro-inc/platform-client-python/issues/{issue})" + issue_format = "[#{issue}](https://github.com/neuro-inc/neuro-cli/issues/{issue})" start_string = "[comment]: # (towncrier release notes start)\n"