forked from evanmiller/hecate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatform_windows.go
36 lines (27 loc) · 914 Bytes
/
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
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
return style
}