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
1 change: 1 addition & 0 deletions src/integrations/terminal/Terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export class Terminal extends BaseTerminal {

public static getEnv(): Record<string, string> {
const env: Record<string, string> = {
ROO_ACTIVE: "true",
PAGER: process.platform === "win32" ? "" : "cat",

// VTE must be disabled because it prevents the prompt command from executing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ describe("TerminalRegistry", () => {
iconPath: expect.any(Object),
env: {
PAGER,
ROO_ACTIVE: "true",
VTE_VERSION: "0",
PROMPT_EOL_MARK: "",
},
Expand All @@ -66,6 +67,7 @@ describe("TerminalRegistry", () => {
iconPath: expect.any(Object),
env: {
PAGER,
ROO_ACTIVE: "true",
PROMPT_COMMAND: "sleep 0.05",
VTE_VERSION: "0",
PROMPT_EOL_MARK: "",
Expand All @@ -88,6 +90,7 @@ describe("TerminalRegistry", () => {
iconPath: expect.any(Object),
env: {
PAGER,
ROO_ACTIVE: "true",
VTE_VERSION: "0",
PROMPT_EOL_MARK: "",
ITERM_SHELL_INTEGRATION_INSTALLED: "Yes",
Expand All @@ -109,6 +112,7 @@ describe("TerminalRegistry", () => {
iconPath: expect.any(Object),
env: {
PAGER,
ROO_ACTIVE: "true",
VTE_VERSION: "0",
PROMPT_EOL_MARK: "",
POWERLEVEL9K_TERM_SHELL_INTEGRATION: "true",
Expand Down
Loading