From e5758a26d92e3277f1977e0c87e9499326121896 Mon Sep 17 00:00:00 2001 From: rambros Date: Sat, 7 Mar 2026 17:47:09 +0530 Subject: [PATCH] minor improvements --- .gitignore | 3 +++ src/ui/main_app.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4fabffc..07b41ff 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,9 @@ wheels/ # Virtual Environment venv/ ENV/ + +# llm files +.idx/ reference/ # Configuration and Secrets diff --git a/src/ui/main_app.py b/src/ui/main_app.py index 3c1f08f..66a0a75 100644 --- a/src/ui/main_app.py +++ b/src/ui/main_app.py @@ -43,7 +43,7 @@ class NewConfigModal(ModalScreen[str]): def _get_sanitized_name(self) -> str: raw = self.query_one("#new_config_input", Input).value.strip() - return re.sub(r"[^a-zA-Z0-9_-]+", "-", raw).strip("-") + return re.sub(r"[^a-zA-Z0-9_-]+", "_", raw).strip("-") def on_button_pressed(self, event: Button.Pressed) -> None: if event.button.id == "btn_create":