Pressing Option + Backspace causes complete freeze with no errors
@darrenburns To check iTerm config to see what sequence is being sent with this keybind
diff --git a/src/textual/_ansi_sequences.py b/src/textual/_ansi_sequences.py
index cbe7290ef..95e745b13 100644
--- a/src/textual/_ansi_sequences.py
+++ b/src/textual/_ansi_sequences.py
@@ -47,7 +47,7 @@ ANSI_SEQUENCES: Dict[str, Tuple[Keys, ...]] = {
     # support it. (Most terminals send ControlH when backspace is pressed.)
     # See: http://www.ibb.net/~anne/keyboard.html
     "\\x7f": (Keys.ControlH,),
-    # --
+    "\\x1b\\x7f": (Keys.ControlW,),
     # Various
     "\\x1b[1~": (Keys.Home,),  # tmux
     "\\x1b[2~": (Keys.Insert,),
diff --git a/src/textual/cli/cli.py b/src/textual/cli/cli.py
index e1e7533ea..d7409a10f 100644
--- a/src/textual/cli/cli.py
+++ b/src/textual/cli/cli.py
@@ -70,7 +70,7 @@ def import_app(import_name: str) -> App:
             if "app" in global_vars:
                 # App exists, lets use that
                 try:
-                    app = global_vars[name]
+                    app = global_vars["app"]
                 except KeyError:
                     raise AppFail(f"App {name!r} not found in {lib!r}")
             else:
@@ -143,7 +143,7 @@ def run_app(import_name: str, dev: bool) -> None:
     features = set(parse_features(os.environ.get("TEXTUAL", "")))
     if dev:
         features.add("debug")
-        features.add("dev")
+        features.add("devtools")
 
     os.environ["TEXTUAL"] = ",".join(sorted(features))
 
['src/textual/_ansi_sequences.py', 'src/textual/cli/cli.py']