-
Notifications
You must be signed in to change notification settings - Fork 34
/
platform_windows.go
48 lines (35 loc) · 1.18 KB
/
platform_windows.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// +build windows
package main
import (
"github.com/nsf/termbox-go"
)
func handleSpecialKeys(key termbox.Key) {}
const outputMode = termbox.OutputNormal
func defaultStyle() Style {
var style Style
style.default_bg = termbox.ColorBlack
style.default_fg = termbox.ColorWhite
style.rune_fg = termbox.ColorYellow
style.int_fg = termbox.ColorCyan
style.bit_fg = termbox.ColorCyan
style.space_rune_fg = termbox.ColorWhite
style.selected_option_bg = termbox.ColorBlue
style.search_progress_fg = termbox.ColorCyan
style.text_cursor_hex_bg = termbox.ColorRed
style.bit_cursor_hex_bg = termbox.ColorCyan
style.int_cursor_hex_bg = termbox.ColorCyan
style.fp_cursor_hex_bg = termbox.ColorRed
style.hilite_hex_fg = termbox.ColorMagenta
style.hilite_rune_fg = termbox.ColorMagenta
style.about_logo_bg = termbox.ColorRed
style.field_editor_bg = style.default_fg
style.field_editor_fg = style.default_bg
style.field_editor_last_bg = style.rune_fg
style.field_editor_last_fg = style.default_fg
style.field_editor_invalid_bg = termbox.ColorRed
style.field_editor_invalid_fg = style.rune_fg
style.space_rune = '•'
style.filled_bit_rune = '●'
style.empty_bit_rune = '○'
return style
}