Skip to content

Commit 522cdf2

Browse files
Merge pull request #75 from quentincaffeino/develop
2 parents 7b102d5 + 7dde248 commit 522cdf2

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,15 @@
188188
"contributions": [
189189
"code"
190190
]
191+
},
192+
{
193+
"login": "Zhwt",
194+
"name": "Zhwt",
195+
"avatar_url": "https://avatars.githubusercontent.com/u/4744830?v=4",
196+
"profile": "https://github.com/Zhwt",
197+
"contributions": [
198+
"code"
199+
]
191200
}
192201
],
193202
"contributorsPerLine": 8,

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Godot Console
1010

1111
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
12-
[![All Contributors](https://img.shields.io/badge/all_contributors-19-orange.svg?style=flat-square)](#contributors-)
12+
[![All Contributors](https://img.shields.io/badge/all_contributors-20-orange.svg?style=flat-square)](#contributors-)
1313
<!-- ALL-CONTRIBUTORS-BADGE:END -->
1414

1515
![In-game console for Godot Screenshot](assets/screenshot.png)
@@ -160,6 +160,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
160160
<td align="center"><a href="https://discordapp.com/invite/hSey9Bv"><img src="https://avatars.githubusercontent.com/u/44974422?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Lyaaaaaaaaaaaaaaa</b></sub></a><br /><a href="#infra-Lyaaaaaaaaaaaaaaa" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
161161
<td align="center"><a href="http://gamemap.github.io"><img src="https://avatars.githubusercontent.com/u/71942164?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Gamemap</b></sub></a><br /><a href="https://github.com/quentincaffeino/godot-console/commits?author=Gamemap" title="Documentation">📖</a></td>
162162
<td align="center"><a href="http://Spyrex.me"><img src="https://avatars.githubusercontent.com/u/57133330?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Spyrex</b></sub></a><br /><a href="https://github.com/quentincaffeino/godot-console/commits?author=SpyrexDE" title="Code">💻</a></td>
163+
<td align="center"><a href="https://github.com/Zhwt"><img src="https://avatars.githubusercontent.com/u/4744830?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Zhwt</b></sub></a><br /><a href="https://github.com/quentincaffeino/godot-console/commits?author=Zhwt" title="Code">💻</a></td>
163164
</tr>
164165
</table>
165166

addons/quentincaffeino/console/src/Console.gd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,22 +137,22 @@ func remove_command(name):
137137
func write(message):
138138
message = str(message)
139139
if self.Text:
140-
self.Text.set_bbcode(self.Text.get_bbcode() + message)
140+
self.Text.append_bbcode(message)
141141
print(self._erase_bb_tags_regex.sub(message, '', true))
142142

143143
# @param String message
144144
# @returns void
145145
func write_line(message = ''):
146146
message = str(message)
147147
if self.Text:
148-
self.Text.set_bbcode(self.Text.get_bbcode() + message + '\n')
148+
self.Text.append_bbcode(message + '\n')
149149
print(self._erase_bb_tags_regex.sub(message, '', true))
150150

151151

152152
# @returns void
153153
func clear():
154154
if self.Text:
155-
self.Text.set_bbcode('')
155+
self.Text.clear()
156156

157157

158158
# @returns Console

0 commit comments

Comments
 (0)