Mon 21 Jul 22:43:21 CEST 2025

This commit is contained in:
sbosse 2025-07-21 23:00:44 +02:00
parent e187e6ee0e
commit 7109d000df

View File

@ -0,0 +1,11 @@
var x11 = require('../../lib');
x11.createClient(function(err, display) {
var X = display.client;
var hello = 'Hello, node.js';
X.InternAtom(false, hello, function(err, atomId) {
X.GetAtomName(atomId, function(err, str) {
console.log('Value for atom ' + atomId + ' is \"' + str + '\"');
X.terminate();
});
});
});