[GB.FORM.TERMINAL]
* BUG: Fix interpretation of Background and Foreground escape sequences. git-svn-id: svn://localhost/gambas/trunk@7672 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
1f81033b96
commit
30a282abd0
1 changed files with 5 additions and 5 deletions
|
@ -144,13 +144,13 @@ Private Sub Escape(hView As TerminalView, sData As String, iPos As Integer, iLen
|
|||
Case 27
|
||||
hView.Attr.Reverse = False
|
||||
Case 30 To 37
|
||||
hView.Attr.Background = iArg - 30
|
||||
hView.Attr.Foreground = iArg - 30
|
||||
Case 39
|
||||
hView.Attr.Background = -1
|
||||
Case 40 To 47
|
||||
hView.Attr.Foreground = iArg - 40
|
||||
Case 49
|
||||
hView.Attr.Foreground = -1
|
||||
Case 40 To 47
|
||||
hView.Attr.Background = iArg - 40
|
||||
Case 49
|
||||
hView.Attr.Background = -1
|
||||
|
||||
End Select
|
||||
Next
|
||||
|
|
Loading…
Reference in a new issue