diff options
author | mathieui <mathieui@mathieui.net> | 2021-03-14 16:37:01 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-04-02 17:44:36 +0200 |
commit | 53633a5c4c8097c1cb356e5240be2a925fb8a631 (patch) | |
tree | f8fd79048fd19ce1846e28becafbd3b2aa9955b7 /poezio/windows/inputs.py | |
parent | b2fbb313ef4b88e62d5d41b5cb5862d643424f73 (diff) | |
download | poezio-53633a5c4c8097c1cb356e5240be2a925fb8a631.tar.gz poezio-53633a5c4c8097c1cb356e5240be2a925fb8a631.tar.bz2 poezio-53633a5c4c8097c1cb356e5240be2a925fb8a631.tar.xz poezio-53633a5c4c8097c1cb356e5240be2a925fb8a631.zip |
refactor: rewrite config.get() to getbool, getstr, getint…
Diffstat (limited to 'poezio/windows/inputs.py')
-rw-r--r-- | poezio/windows/inputs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/inputs.py b/poezio/windows/inputs.py index b3601913..16c5c633 100644 --- a/poezio/windows/inputs.py +++ b/poezio/windows/inputs.py @@ -601,7 +601,7 @@ class HistoryInput(Input): self.current_completed = '' self.key_func['^R'] = self.toggle_search self.search = False - if config.get('separate_history'): + if config.getbool('separate_history'): # pylint: disable=assigning-non-slot self.history: List[str] = [] |