mirror of
https://github.com/sorenisanerd/gotty.git
synced 2025-04-17 23:30:28 +00:00
Launch an Xspice and run: echo -ne "\033]844;127.0.0.1;9876\007" This will launch a SPiCE client connecting to 127.0.0.1:9876. Still need to add all the security stuff and generally be more defensive in the implementation.
18 lines
390 B
JavaScript
18 lines
390 B
JavaScript
suite("Keymap", function() {
|
|
var sut;
|
|
|
|
setup(function () {
|
|
sut = wdi.Keymap;
|
|
});
|
|
|
|
suite('#handledByCharmap', function () {
|
|
test('return true when type is inputmanager', function () {
|
|
assert.isTrue(sut.handledByCharmap('inputmanager'));
|
|
});
|
|
|
|
test('return false when type is not inputmanager', function () {
|
|
assert.isFalse(sut.handledByCharmap('fakeEvent'));
|
|
});
|
|
});
|
|
});
|