mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 17:57:19 +02:00
Support both crossterm and termion
This commit is contained in:
parent
7ad5483a92
commit
c3a87b4f3f
3 changed files with 85 additions and 19 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue