File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ module.exports = JuliaClient =
19
19
activate : (state ) ->
20
20
etch .setScheduler (atom .views )
21
21
@ requireInk =>
22
+ process .env [' TERM' ] = ' xterm-256color'
22
23
commands .activate @
23
24
x .activate () for x in [menu, @connection , @runtime ]
24
25
@ui .activate @connection .client
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export function activate (_ink) {
31
31
ink = _ink
32
32
subs = new CompositeDisposable ( )
33
33
34
- process . env . TERM = 'xterm-256color'
34
+ process . env [ ' TERM' ] = 'xterm-256color'
35
35
36
36
subs . add ( atom . config . observe ( 'julia-client.consoleOptions.whitelistedKeybindingsREPL' , ( kbds ) => {
37
37
whitelistedKeybindingsREPL = kbds . map ( s => s . toLowerCase ( ) )
@@ -287,6 +287,7 @@ function remotePty () {
287
287
}
288
288
289
289
function shellPty ( cwd ) {
290
+ process . env [ 'TERM' ] = 'xterm-256color'
290
291
return new Promise ( ( resolve , reject ) => {
291
292
let pr
292
293
if ( cwd ) {
You can’t perform that action at this time.
0 commit comments