Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Due to the input module previously being a separate crate, it needed to
support dynamic application level event bindings. This created a lot of
complexity in the event handling, with no value.
This removes that custom functionality, and instead includes all the
app level events under the standard events.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This decouples the module system from the process module, this allows
other modules to not depend on the process module, which really should
not be depended on by the other modules.
|
|
|
|
|
|
|
|
Move the initialization of the different modules from the process module
and instead do the initialization in the main function.
|
|
The process TestContext type was not needed on the closures, so this
removes it.
|
|
|
|
|
|
|
|
This replaces the CLI argument parsing with a lighter library and drops
the need for the heavy Clap library. Most of the main function code is
also moved into a new core module, and additional lighter tests are
added. A build.rs file has also been added to provide a more detailed
version info output.
|
|
The ViewState is no longer used in the tests and can be safely removed.
|
|
Add to the process tests a function to create an instance of CrossTerm,
this way changes to how CrossTerm is initialized require fewer
modifications in the future.
|
|
Move the ownership of Crossterm into the Display struct and inject the
config values into View.
|
|
Move the triggering of the external command to the process module and
refactor external editor to use it instead. This also allows the view to
be removed from all modules.
|
|
|
|
|
|
Instead of having every module perform a resize of the view_data, return
a mutable reference and have the view do a resize in all cases where
possible.
|
|
This moves the help system out of the process module and into a reusable
component.
|
|
The internal Vec<Line> containing the lines list was an escape hatch to
allow the addition of some functionality. It should be an internal
implementation detail and should not be accessible. So this change:
- Add is_empty function to check if there are no lines
- Add iter for iteration over the lines
- Add get_line function to get a line at index
- Add get_maximum_line_index to replace calls getting the length
- Add get_lines_owned which returns a owned copy of the lines
|
|
Re-evaluate the configurations for rustfmt, make some changes and
reformat everything. The biggest change is how imports are formatted.
|
|
The project has pushed the limits of what curses can support on Windows
systems. Crossterm has far superior support for creating cross platform
TUI applications.
|
|
|
|
|