From 5d173f6df3b20308eb318cef4b58147b2197d5f9 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Fri, 10 May 2019 11:36:16 +0000 Subject: Refactor config parsing files This is a large refactor of the config parsing structure, attempting to reduce the size of the file a bit by splitting it up into different modules with more specific purposes. This also fixes #2279. --- alacritty_terminal/tests/ref.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alacritty_terminal/tests') diff --git a/alacritty_terminal/tests/ref.rs b/alacritty_terminal/tests/ref.rs index a2447151..135b5f25 100644 --- a/alacritty_terminal/tests/ref.rs +++ b/alacritty_terminal/tests/ref.rs @@ -91,7 +91,7 @@ fn ref_test(dir: &Path) { let ref_config: RefConfig = json::from_str(&serialized_cfg).unwrap_or_default(); let mut config: Config = Default::default(); - config.set_history(ref_config.history_size); + config.scrolling.set_history(ref_config.history_size); let mut terminal = Term::new(&config, size, MessageBuffer::new(), Clipboard::new_nop()); let mut parser = ansi::Processor::new(); -- cgit