Support both crossterm and termion

This commit is contained in:
Dheepak Krishnamurthy 2020-07-27 02:34:44 -06:00
parent 7ad5483a92
commit c3a87b4f3f
3 changed files with 85 additions and 19 deletions

View file

@ -25,8 +25,6 @@ use tui::{
use crate::util::{Key};
use crossterm::event::KeyCode;
pub fn cmp(t1: &Task, t2: &Task) -> Ordering {
let urgency1 = match &t1.uda()["urgency"] {
UDAValue::Str(_) => 0.0,