aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-08-06Cargo: Install 'clipboard' crateTeddy Wing
Allows us to copy to the system clipboard with a very simple interface.
2016-08-06Add a function that strips the "key" part from the lineTeddy Wing
Lines are formatted like: e: email@example.com This function turns that into: email@example.com It will be used to strip the "key" so that we can copy only the "value" part of the line to the system clipboard.
2016-08-06Move the selection marker with `j` & `k`Teddy Wing
The selection arrow can now be moved. Not liking the code duplication. We'll have to figure something out to sort that.
2016-08-06Initial trial of selection trackingTeddy Wing
Decided to track the location of the selection in a struct and make a function to move the current selection. But I can't mutably borrow the terminal because it's already mutable. Will need to rethink this.
2016-08-05Print a list of options to the TUITeddy Wing
Create a hard-coded list of options for testing and print them to the terminal interface. These will eventually be selectable with `j`,`k`.
2016-08-05Add an arrow markerTeddy Wing
Print a URLView-like arrow for choice selection.
2016-08-05Allow both 'q' and Ctrl-C to quitTeddy Wing
Alo update the title text with information on how to quit.
2016-08-05Test terminal outputTeddy Wing
Output a single string to the terminal in the alternate screen. This allows us to test the base functionality of what we'll need for a dialog a la URLView. Used Rustty's examples as a big reference.
2016-08-05.gitignore: Ignore /private/ directoryTeddy Wing
2016-08-05Cargo: Remove 'termion' dependency, use 'rustty'Teddy Wing
Decided to remove Termion in favour of Rustty because it seems like it has a simpler interface.
2016-08-05Cargo: Install "termion" 1.0Teddy Wing
Terminal library to help with creating a text user interface.
2016-08-05Add .gitignore: Ignore Rust /target/ build directoryTeddy Wing
2016-08-05Initial commit. Cargo init.Teddy Wing
Initialise a new project with `cargo init --bin`.