import isUndefined from 'lodash/isUndefined.js' ; import type { IPtyForkOptions } from 'node-pty' ; export const xterm = { name : 'xterm-256color' , cols : 80 , rows : 30 , cwd : process . cwd ( ) , env : Object . assign ( { } , ... Object . keys ( process . env ) . filter ( ( key ) => ! isUndefined ( process . env [ key ] ) ) . map ( ( key ) => ( { [ key ] : process . env [ key ] } ) ) ) , } ;