Browse Source

Add unicode_emojis flag to config

pull/34/head
Sam 5 years ago
parent
commit
a8e0ed17b9
  1. 1
      defaultConfig.go
  2. 1
      kbtui.toml
  3. 7
      types.go

1
defaultConfig.go

@ -4,6 +4,7 @@ var defaultConfig = ` @@ -4,6 +4,7 @@ var defaultConfig = `
[basics]
download_path = "/tmp/"
colorless = false
unicode_emojis = true
# The prefix before evaluating a command
cmd_prefix = "/"

1
kbtui.toml

@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
[basics]
download_path = "/tmp/"
colorless = false
unicode_emojis = true
# The prefix before evaluating a command
cmd_prefix = "/"

7
types.go

@ -28,9 +28,10 @@ type Config struct { @@ -28,9 +28,10 @@ type Config struct {
// Basics holds the 'basics' section of the config file
type Basics struct {
DownloadPath string `toml:"download_path"`
Colorless bool `toml:"colorless"`
CmdPrefix string `toml:"cmd_prefix"`
DownloadPath string `toml:"download_path"`
Colorless bool `toml:"colorless"`
CmdPrefix string `toml:"cmd_prefix"`
UnicodeEmojis bool `toml:"unicode_emojis"`
}
// Formatting holds the 'formatting' section of the config file

Loading…
Cancel
Save