diff --git a/src/hqt/cli.py b/src/hqt/cli.py index 9e99188..3d3a5c9 100644 --- a/src/hqt/cli.py +++ b/src/hqt/cli.py @@ -1,5 +1,6 @@ import logging import os +import shlex import subprocess import sys import traceback @@ -185,8 +186,6 @@ def _palette_popup_command(window: str) -> str: concrete here (run-shell already expanded #{window_name} before `hqt palette` ran). The selected entry runs `hqt tool `. """ - import shlex - entries = "\\n".join(PALETTE_ENTRIES) + "\\n" return ( f"printf '{entries}' | "