add tag 0x07

box-drawing
Ondřej Hruška 7 years ago
parent 273fc6a820
commit 572dea2370
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 5
      js/term/screen_parser.js

@ -7,6 +7,7 @@ const SEQ_SET_COLORS = 3
const SEQ_SET_ATTRS = 4
const SEQ_SET_FG = 5
const SEQ_SET_BG = 6
const SEQ_SET_ATTR_0 = 7
function du (str) {
return str.codePointAt(0) - 1
@ -314,6 +315,10 @@ module.exports = class ScreenParser {
attrs = data & 0xFFFF
break
case SEQ_SET_ATTR_0:
attrs = 0
break
case SEQ_SET_FG:
data = strArray[ci++].codePointAt(0) - 1
fg = data & 0xFF

Loading…
Cancel
Save