aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
Commit message (Collapse)AuthorAge
* Do not replace $SHELL with --command optionJustin Charette2017-04-03
| | | | Signed-off-by: Justin Charette <charetjc@gmail.com>
* Configurable window dimensionsAnders Rasmussen2017-02-06
| | | | | | | | Adds a configuration option `dimensions` which will set initial window size by columns and lines. Changes to the config file will require restart. resolves #370
* Add support for -e argumentNiklas Claesson2017-01-28
|
* Use clap as cli parser.Kurnevsky Evgeny2017-01-24
|
* Use the log-crate instead of printing to stdoutLukas Lueg2017-01-23
|
* print glutin events if --print-events is passedTom Crayford2017-01-08
| | | | | | | | When debugging many issues, it's often very helpful to have the raw glutin events printed out to stderr as they come in. This does that. Note that since `glutin::Event` doesn't implement `Display`, we just use rust's debugging output for now via `{:?}`.
* Added --title argument to set window titleRudis Muiznieks2017-01-06
|
* Display manages window, renderer, rasterizerJoe Wilm2016-12-11
| | | | | | | | | | This is part of an ongoing decoupling effort across the codebase and tidying effort in main.rs. Everything to do with showing the window with a grid of characters is now managed by the `Display` type. It owns the window, the font rasterizer, and the renderer. The only info needed from it are dimensions of characters and the window itself for sizing the terminal properly. Additionally, the I/O loop has access to wake it up when new data arrives.
* Cleanup cli option parsingJoe Wilm2016-12-11
This introduces the `cli` module and the `cli::Options` type. This type holds all the options passable on the command line in addition to providing arg parsing.