Skip to content
Toggle navigation
Sign up
Product
Actions
Automate any workflow
Packages
Host and manage packages
Security
Find and fix vulnerabilities
Codespaces
Instant dev environments
Copilot
Write better code with AI
Code review
Manage code changes
Issues
Plan and track work
Discussions
Collaborate outside of code
Explore
All features
Documentation
GitHub Skills
Blog
Solutions
For
Enterprise
Teams
Startups
Education
By Solution
CI/CD & Automation
DevOps
DevSecOps
Case Studies
Customer Stories
Resources
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Pricing
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub
↵
Jump to
↵
In this organization
All GitHub
↵
Jump to
↵
In this repository
All GitHub
↵
Jump to
↵
Sign in
Sign up
{{ message }}
minetest
/
minetest
Public
Notifications
Fork
1.7k
Star
8.4k
Code
Issues
1k
Pull requests
81
Actions
Projects
2
Security
Insights
More
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix a type bug in colorize function
This bug was introduced by
dd2f1d7
and reported by
@kilbith
Loading branch information
Loïc Blot
committed
Mar 28, 2017
1 parent
7c85405
commit
1b299b40391b4ea0fe058b63aad14e3360e917d9
Showing
1 changed file
with
1 addition
and
1 deletion
.
Split
Unified
There are no files selected for viewing
2
builtin/common/misc_helpers.lua
Show comments
View file
Edit file
Delete file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
Original file line number
Diff line number
Diff line change
@@ -667,7 +667,7 @@ else
end
function
core.colorize
(
color
,
message
)
local
lines
=
message:
split
(
"
\n
"
,
true
)
local
lines
=
tostring
(
message
)
:
split
(
"
\n
"
,
true
)
local
color_code
=
core.
get_color_escape_sequence
(color)
for
i, line
in
ipairs
(lines)
do
Toggle all file notes
Toggle all file annotations
0 comments on commit
1b299b4
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.