| Age | Commit message (Collapse) | Author |
|
Allows us to copy to the system clipboard with a very simple interface.
|
|
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.
|
|
The selection arrow can now be moved. Not liking the code duplication.
We'll have to figure something out to sort that.
|
|
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.
|
|
Create a hard-coded list of options for testing and print them to the
terminal interface.
These will eventually be selectable with `j`,`k`.
|
|
Print a URLView-like arrow for choice selection.
|
|
Alo update the title text with information on how to quit.
|
|
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.
|
|
|
|
Decided to remove Termion in favour of Rustty because it seems like it
has a simpler interface.
|
|
Terminal library to help with creating a text user interface.
|
|
|
|
Initialise a new project with `cargo init --bin`.
|