Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
isontheline committed Jun 27, 2023
1 parent 6ab2d84 commit b67481f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/ssh/assets/xterm-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ const XtermTests = {
// Should write to clipboard :
terminal.write('\x1b]52;c;' + btoa('WebSSH is awesome!') + '\x1b');

// Blinking underline cursor :
terminal.write('\x1b[3 q');

// Enter alternate buffer :
//terminal.write('\x1b[?47h')
}
Expand Down
7 changes: 3 additions & 4 deletions src/ssh/assets/xterm-webssh.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ const debounce = (callback, wait) => {

const JS2IOS = {
calliOSFunction: function (functionName, args) {
var url = "js2ios://";

var callInfo = {};
let url = "js2ios://";
let callInfo = {};
callInfo.functionname = functionName;

if (args) {
Expand Down Expand Up @@ -564,4 +563,4 @@ const TouchHelper = {
// We don't want to propagate the event to the terminal :
event.stopPropagation();
}
};
};
2 changes: 1 addition & 1 deletion src/webserver.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# https://gist.github.com/opyate/6e5fcabc6f41474d248613c027373856
# Inspired by https://stackoverflow.com/a/25708957/51280
from http.server import SimpleHTTPRequestHandler
Expand Down

0 comments on commit b67481f

Please sign in to comment.