diff options
author | Matan Kushner <hello@matchai.me> | 2019-07-27 18:25:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-27 18:25:13 -0400 |
commit | 0bc28c521df789d3aae5ceb541ee336aefa14340 (patch) | |
tree | 2f5aca63ac63e9970ff0587f5e4dc973d56cc0a9 /src/module.rs | |
parent | 95ce43ee70d51ce1181806b7c0f1ce623a618b4b (diff) |
feat: Add configuration for add_newline (#116)
- Replace TableExt with a Config trait that extends toml::value::Table
Add configuration for add_newline
- add_newline is a root-level configuration value. When set to false, the initial newline before the prompt is removed.
Diffstat (limited to 'src/module.rs')
-rw-r--r-- | src/module.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.rs b/src/module.rs index 3e530c3f6..af985ea3a 100644 --- a/src/module.rs +++ b/src/module.rs @@ -1,4 +1,4 @@ -use crate::config::TableExt; +use crate::config::Config; use crate::segment::Segment; use ansi_term::Style; use ansi_term::{ANSIString, ANSIStrings}; |