Skip to content

Commit 19b8c55

Browse files
authored
Merge branch 'dev' into fix/xhigh-mode-openrouter
2 parents 5d47475 + f73f88f commit 19b8c55

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

packages/app/src/components/session/session-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export function SessionHeader() {
167167
triggerAs={Button}
168168
triggerProps={{
169169
variant: "secondary",
170-
class: "rounded-sm w-[60px] h-[24px]",
170+
class: "rounded-sm h-[24px] px-3",
171171
classList: { "rounded-r-none": shareUrl() !== undefined },
172172
style: { scale: 1 },
173173
}}

packages/opencode/src/pty/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ export namespace Pty {
108108
TERM: "xterm-256color",
109109
OPENCODE_TERMINAL: "1",
110110
} as Record<string, string>
111+
112+
if (process.platform === "win32") {
113+
env.LC_ALL = "C.UTF-8"
114+
env.LC_CTYPE = "C.UTF-8"
115+
env.LANG = "C.UTF-8"
116+
}
111117
log.info("creating session", { id, cmd: command, args, cwd })
112118

113119
const spawn = await pty()

0 commit comments

Comments
 (0)