Skip to content
This repository has been archived by the owner on Nov 11, 2018. It is now read-only.

Remove last semicolon from control_sequence #339

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data/Startup/bash_startup.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ function final_term_control_sequence() {
for argument in "$@"; do
control_sequence="$control_sequence$argument;"
done
# TODO: Remove last semicolon
control_sequence="$control_sequence\a"
# Remove last semicolon
control_sequence="${control_sequence%;}\a"

# TODO: Should "-ne" be added here?
echo "$control_sequence"
Expand Down