Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
23bcec5d
Commit
23bcec5d
authored
May 29, 2013
by
mcmlxxix
Browse files
initialize buffer as an empty string (instead of an array)
parent
440c1711
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
exec/load/inputline.js
exec/load/inputline.js
+2
-2
No files found.
exec/load/inputline.js
View file @
23bcec5d
...
...
@@ -9,7 +9,7 @@ function InputLine(frame) {
frame
:
undefined
,
attr
:
undefined
,
cursor
:
undefined
,
buffer
:
[]
buffer
:
""
};
var
settings
=
{
show_border
:
true
,
...
...
@@ -279,7 +279,7 @@ function InputLine(frame) {
//gotoxy(position);
}
function
reset
()
{
properties
.
buffer
=
[]
;
properties
.
buffer
=
""
;
properties
.
frame
.
clear
();
if
(
settings
.
show_cursor
)
printCursor
();
...
...
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