Commit 8f1a188
committed
handling cases of control sequence being unavailable
MRI addresses this by converting the control code output to the console to win32api or by enabling VT sequence output to the console.
JRuby does not do these things.
Handle this by enabling VT sequence output to the console.
If that fails, when in legacy console, SGR code printed as a garbage.1 parent 3e60610 commit 8f1a188
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
0 commit comments