Merge pull request #46 from liamg/remove-old-config

remove old config
This commit is contained in:
Liam Galvin 2018-10-28 16:48:29 +00:00 committed by GitHub
commit 8b9ed5e467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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