How to use the BigText function from blessed

Find comprehensive JavaScript blessed.BigText code examples handpicked from public code repositorys.

17
18
19
20
21
22
23
24
25
26
  style: {
    bg: 'cyan-bg'
  }
})

let box = blessed.BigText({
  top: 0,
  right: 0,
  width: 'shrink',
  height: 'shrink',
fork icon3
star icon4
watch icon3

+ 3 other calls in file

71
72
73
74
75
76
77
78
79
80
        }
})

// screen.append(display)

let displayReadout = blessed.BigText({
        parent: display,
        top: 0,
        left: 0,
        content: ' --.--',
fork icon0
star icon2
watch icon2

9
10
11
12
13
14
15
16
17
18
// Set default alarm to 5 minutes.
let alarmTime = moment().add('5', 'minutes');
let timer;

// Build the UI.
const time = blessed.BigText({
  parent: screen,
  align: 'center',
  name: 'alarm',
  width: '100%',
fork icon0
star icon2
watch icon1