diff --git a/xwords4/linux/cursesdraw.c b/xwords4/linux/cursesdraw.c index 683ebb5b9..e62c726a5 100644 --- a/xwords4/linux/cursesdraw.c +++ b/xwords4/linux/cursesdraw.c @@ -139,10 +139,10 @@ formatRemText( XP_S16 nTilesLeft, const XP_Rect* rect, char* buf, char** lines ) { if ( 1 == rect->height ) { const char* fmt; - if ( rect->width < 15 ) { + if ( rect->width < 20 ) { fmt = "%d"; } else { - fmt = "Rem: %.3d"; + fmt = "Rem: %.2d"; } *lines = buf; sprintf( buf, fmt, nTilesLeft ); diff --git a/xwords4/linux/scripts/discon_ok2.py b/xwords4/linux/scripts/discon_ok2.py index b4c186b7f..96746036d 100755 --- a/xwords4/linux/scripts/discon_ok2.py +++ b/xwords4/linux/scripts/discon_ok2.py @@ -268,7 +268,7 @@ class Device(): self.setApp(self.args.UPGRADE_PCT) self.checkScript() self.launchCount += 1 - args = [ self.script ] + args = [ self.script, '--close-stdin' ] self.proc = subprocess.Popen(args, stdout = subprocess.DEVNULL, stderr = subprocess.PIPE, universal_newlines = True) self.pid = self.proc.pid @@ -396,7 +396,7 @@ def build_cmds(args): COUNTER = 0 PLAT_PARMS = [] if not args.USE_GTK: - PLAT_PARMS += ['--curses', '--close-stdin'] + PLAT_PARMS += ['--curses'] for GAME in range(1, args.NGAMES + 1): peers = set()