#1123·gum

gum no longer renders after upgrading to v2

Author: hfhchan-plbCreated Aug 24, 2026Updated Aug 24, 2026

Description

gum no longer renders after upgrading to v2 when being called from zx

example script/release.mjs:

#!npx zx

// @ts-check
import "zx/globals";

const platform = (
  (
    await $`gum choose --header "Choose deploy platform:" core client1 client2`
  ).stdout.trim()
);

The display is stuck and nothing loads.

Terminal title bar is showing as:

Terminal ouput is just showing as

Version

v2.0.0

Environment

macos / zsh with .mjs script via zx