Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Starbeamrainbowlabs
lantern-build-engine
Commits
411df752
Verified
Commit
411df752
authored
Mar 09, 2019
by
Starbeamrainbowlabs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: Don't generate a new line when setting the terminal title
parent
c797b1c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lantern.sh
lantern.sh
+1
-1
No files found.
lantern.sh
View file @
411df752
...
...
@@ -39,7 +39,7 @@ CACTION=${FYEL};
# Sets the title of the terminal window.
# $@ - The new text to set the title to.
set_title
()
{
echo
-e
'\033]2;'
$@
'\033\\'
;
}
set_title
()
{
echo
-e
n
'\033]2;'
$@
'\033\\'
;
}
# Display a url in the terminal.
# See https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment