From a39024db261aeaaf937771a2ba16e0433bc63ebc Mon Sep 17 00:00:00 2001 From: sbosse Date: Mon, 21 Jul 2025 23:06:08 +0200 Subject: [PATCH] Mon 21 Jul 22:43:21 CEST 2025 --- js/x11/examples/simple/hello.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 js/x11/examples/simple/hello.js diff --git a/js/x11/examples/simple/hello.js b/js/x11/examples/simple/hello.js new file mode 100644 index 0000000..0e2c437 --- /dev/null +++ b/js/x11/examples/simple/hello.js @@ -0,0 +1,5 @@ +var x11 = require('../../lib'); +x11.createClient(function(err, display) { + console.log('succesfully connected to \"' + display.vendor + '\" server'); + display.client.terminate(); +});