]> git.proxmox.com Git - mirror_xterm.js.git/commitdiff
Stop using binary literals. Non ES6 compatible
authorParis <paris@sourcelair.com>
Fri, 10 Jun 2016 16:02:49 +0000 (19:02 +0300)
committerParis <paris@sourcelair.com>
Fri, 10 Jun 2016 16:02:49 +0000 (19:02 +0300)
src/xterm.js

index 273fdca5315501b094f81f42e1d7a1353ddc9ded..2ba64e262d2ac9dcaac9c185ce75b1f07b221146 100644 (file)
      * Flags used to render terminal text properly
      */
     Terminal.flags = {
-      BOLD: 0b00001,
-      UNDERLINE: 0b00010,
-      BLINK: 0b00100,
-      INVERSE: 0b01000,
-      INVISIBLE: 0b10000
+      BOLD: 1,
+      UNDERLINE: 2,
+      BLINK: 4,
+      INVERSE: 8,
+      INVISIBLE: 16
     }
 
     /*