Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/cap-session-title-length.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Shorten the session title written to the terminal window/tab from 80 to 32 characters so long first messages and pasted content no longer stretch the tab bar past readable width.
2 changes: 1 addition & 1 deletion apps/kimi-code/src/tui/constant/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const OSC11_RESPONSE_PREFIX_NO_ESC = "]11;rgb:";
// Keep notification/title payloads bounded so terminal tabs and desktop
// notifications stay readable.
export const MAX_TERMINAL_NOTIFICATION_MESSAGE_LENGTH = 240;
export const MAX_PROCESS_TITLE_LENGTH = 80;
export const MAX_PROCESS_TITLE_LENGTH = 32;

// OSC 11 probing must be short because unsupported terminals do not reply.
export const TERMINAL_THEME_DETECT_TIMEOUT_MS = 250;
Expand Down
Loading