1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-11-06 22:44:18 -05:00

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.
This commit is contained in:
Christian Duerr 2019-05-10 11:36:16 +00:00 committed by GitHub
parent 7738c52ed4
commit 5d173f6df3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 2871 additions and 3172 deletions

View file

@ -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();