Skip to content

Commit 698f5a0

Browse files
committed
mlterm now reports the number of colors as 1024
1 parent c242762 commit 698f5a0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lsix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ autodetect() {
125125
IFS=";" read -a REPLY -s -t ${timeout} -d "S" -p $'\e[?1;1;0S' >&2
126126
[[ ${REPLY[1]} == "0" ]] && numcolors=${REPLY[2]}
127127

128-
# Bug workaround: mlterm does not report number of colors.
129-
if [[ $TERM =~ mlterm ]]; then numcolors=1024; fi
130128
# YAFT is vt102 compatible, cannot respond to vt220 escape sequence.
131129
if [[ "$TERM" == yaft* ]]; then numcolors=256; fi
132130

0 commit comments

Comments
 (0)