summaryrefslogtreecommitdiff
path: root/frontends/scripts
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-01 19:50:12 +0200
committerPaul Buetow <paul@buetow.org>2026-02-01 19:50:12 +0200
commit850418b5da575ccd22757570759507fedca8da14 (patch)
tree607398a3e415659ce29918eb16c42c9071fc74fb /frontends/scripts
parentb573deca48f8d6e3e878c708aefa3e63bac9c178 (diff)
Preserve prompt spacing on send-back.
Keep the first-line prefix strip without trimming spaces.
Diffstat (limited to 'frontends/scripts')
-rw-r--r--frontends/scripts/tmux-edit-send1
1 files changed, 0 insertions, 1 deletions
diff --git a/frontends/scripts/tmux-edit-send b/frontends/scripts/tmux-edit-send
index 712b809..ef1030f 100644
--- a/frontends/scripts/tmux-edit-send
+++ b/frontends/scripts/tmux-edit-send
@@ -132,7 +132,6 @@ send_content() {
if [ "$first_line" -eq 1 ] && [ -n "$prompt_text" ]; then
if [[ "$line" == "$prompt_text"* ]]; then
line="${line#"$prompt_text"}"
- line="${line# }"
fi
fi
first_line=0