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:
parent
7738c52ed4
commit
5d173f6df3
36 changed files with 2871 additions and 3172 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue