Skip to content
Snippets Groups Projects
Commit fd3533d5 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Send a backspace space backspace after shift in

Keeps the display cleaner when things work and the shift in byte
is displayed.  Should be harmless in cases where shift in is
interpreted per the standards.
parent b6b91d14
No related branches found
No related tags found
No related merge requests found
...@@ -536,12 +536,12 @@ var tests = [ ...@@ -536,12 +536,12 @@ var tests = [
if (!interactive) if (!interactive)
return null; return null;
console.write("\x1b[=0M"); console.write("\x1b[=0M");
console.write("\x1b[MFCDEFG\x0e\x0f"); console.write("\x1b[MFCDEFG\x0e\x0f\x08 \x08");
var ret = console.yesno("Did you hear an ascending set of five notes"); var ret = console.yesno("Did you hear an ascending set of five notes");
if (ret) if (ret)
return false; return false;
console.write("\x1b[=2M"); console.write("\x1b[=2M");
console.write("\x1b[MFCDEFG\x0e\x0f"); console.write("\x1b[MFCDEFG\x0e\x0f\x08 \x08");
var ret = console.yesno("Did you hear an ascending set of five notes"); var ret = console.yesno("Did you hear an ascending set of five notes");
if (!ret) if (!ret)
return false; return false;
...@@ -551,7 +551,7 @@ var tests = [ ...@@ -551,7 +551,7 @@ var tests = [
{'name':'BCAM', 'func':function() { {'name':'BCAM', 'func':function() {
if (!interactive) if (!interactive)
return null; return null;
console.write("\x1b[NCDEFG\x0e\x0f"); console.write("\x1b[NCDEFG\x0e\x0f\x08 \x08");
return ret = console.yesno("Did you hear an ascending set of five notes"); return ret = console.yesno("Did you hear an ascending set of five notes");
}}, }},
{'name':'DCH', 'func':function() { {'name':'DCH', 'func':function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment