chore: uptick

This commit is contained in:
Brooklyn Nicholson 2026-04-03 19:52:50 -05:00
parent 1218994992
commit fab4d8d470
3 changed files with 10 additions and 6 deletions

View file

@ -1,12 +1,18 @@
import json
import signal
import sys
from tui_gateway.server import handle_request, resolve_skin
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
def _write(obj: dict):
sys.stdout.write(json.dumps(obj) + "\n")
sys.stdout.flush()
try:
sys.stdout.write(json.dumps(obj) + "\n")
sys.stdout.flush()
except BrokenPipeError:
sys.exit(0)
def main():

View file

@ -1,5 +1,4 @@
'use strict'
import React from 'react'
import { render } from 'ink'
import { App } from './app.js'

View file

@ -1,5 +1,4 @@
'use strict'
import React from 'react'
import { render } from 'ink'
import { App } from './app.js'