run: use x-terminal-emulator in [terminal]
The environment variables TERM and COLORTERM do not contain an executable names.
This commit is contained in:
parent
6dfd268ef1
commit
bb34aafa45
|
@ -819,10 +819,7 @@ proc exit {{status 0}} {
|
||||||
#
|
#
|
||||||
proc terminal { } {
|
proc terminal { } {
|
||||||
global env
|
global env
|
||||||
if {[info exists env(COLORTERM)]} {
|
return x-terminal-emulator
|
||||||
return $env(COLORTERM)
|
|
||||||
}
|
|
||||||
return $env(TERM)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue