Bugs: Browse | Submit New | Admin

[#28539] ANSI sequence \e[m not recognized

Date:
2010-09-05 10:29
Priority:
3
Submitted By:
Thierry Lambert (thyresias)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
ANSI sequence \e[m not recognized

Detailed description
\e[m does not behave like \e[0m.

The bug is in file ANSI.rb, line 157. Replace:

  attributs.push(nil) unless attributs

with:

  attributs.push(nil) if attributs.empty?

Cheers
-- Thierry

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item