summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/ncurses/nc-cui.c3
-rw-r--r--ui/twin/pbt-client.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c
index 71fec5e..0dc8d4b 100644
--- a/ui/ncurses/nc-cui.c
+++ b/ui/ncurses/nc-cui.c
@@ -31,6 +31,7 @@
#include "pb-protocol/pb-protocol.h"
#include "talloc/talloc.h"
#include "waiter/waiter.h"
+#include "process/process.h"
#include "ui/common/discover-client.h"
#include "nc-cui.h"
@@ -507,6 +508,8 @@ struct cui *cui_init(void* platform_info,
cui->platform_info = platform_info;
cui->waitset = waitset_create(cui);
+ process_init(cui, cui->waitset);
+
setlocale(LC_ALL, "");
/* Loop here for scripts that just started the server. */
diff --git a/ui/twin/pbt-client.c b/ui/twin/pbt-client.c
index 445c865..1de532d 100644
--- a/ui/twin/pbt-client.c
+++ b/ui/twin/pbt-client.c
@@ -30,6 +30,7 @@
#include "log/log.h"
#include "talloc/talloc.h"
#include "waiter/waiter.h"
+#include "process/process.h"
#include "ui/common/discover-client.h"
static struct pb_opt_data *pbt_opt_data_from_item(struct pbt_item *item)
@@ -269,6 +270,8 @@ struct pbt_client *pbt_client_init(enum pbt_twin_backend backend,
pbt_client->waitset = waitset_create(pbt_client);
+ process_init(pbt_client, pbt_client->waitset);
+
pbt_client->sig = "pbt_client";
pbt_client->frame.scr = pbt_scr_init(pbt_client, pbt_client->waitset,
backend, width, height, NULL, NULL);
OpenPOWER on IntegriCloud