remove old config

This commit is contained in:
Liam Galvin 2018-10-28 16:47:51 +00:00
parent 5ff67ddfcd
commit 15bb45df86
2 changed files with 1 additions and 2 deletions

View File

@ -74,4 +74,4 @@ You can ignore the config and use defaults by specifying `--ignore-config` as a
| ---------------- | -------------- | -------------- | ------- | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
| --debug | _root_ | debug | boolean | false | Enable debug mode, with debug logging and debug info terminal overlay. |
| --slomo | _root_ | slomo | boolean | false | Enable slomo mode, delay the handling of each incoming byte (or escape sequence) from the pty by 100ms. Useful for debugging. |
| --always-repaint | rendering | always_repaint | boolean | false | Redraw the terminal GUI constantly, even when no changes have occurred. |
| --shell [shell] | _root_ | shell | string | User's shell | Use the specified shell program instead of the user's usual one. |

View File

@ -21,7 +21,6 @@ func getConfig() *config.Config {
flag.StringVar(&conf.Shell, "shell", conf.Shell, "Specify the shell to use")
flag.BoolVar(&conf.DebugMode, "debug", conf.DebugMode, "Enable debug logging")
flag.BoolVar(&conf.Slomo, "slomo", conf.Slomo, "Render in slow motion (useful for debugging)")
flag.BoolVar(&conf.Rendering.AlwaysRepaint, "always-repaint", conf.Rendering.AlwaysRepaint, "Always repaint the window, even when no changes have occurred")
flag.Parse()
return conf