Commit graph

57 commits

Author SHA1 Message Date
Dheepak Krishnamurthy
1640cbcc39 Better error message for configuration 2021-03-28 08:47:17 -06:00
Dheepak Krishnamurthy
bf0fb46f90 Use anyhow 2021-03-27 14:47:23 -06:00
Dheepak Krishnamurthy
59e24f5665 Update tests 2021-03-27 00:30:35 -06:00
Dheepak Krishnamurthy
b6a1c0f513 Use heavy check mark and empty string for mark and unmark defaults 2021-03-27 00:30:35 -06:00
Dheepak Krishnamurthy
2deb44b593 Fix configuration 2021-03-27 00:30:35 -06:00
Dheepak Krishnamurthy
55c04b702e Allow empty strings as indicators 2021-03-27 00:30:35 -06:00
Dheepak Krishnamurthy
93b9807fbe Make mark and unmark indicators configurable 2021-03-27 00:30:35 -06:00
Dheepak Krishnamurthy
70f0f24ec6 Fix shortcut 9 out of bounds 2021-03-18 11:01:04 -06:00
Dheepak Krishnamurthy
bde9346caf Run cargo clippy 2021-03-18 07:26:55 -06:00
Dheepak Krishnamurthy
078f117916 Add shortcuts 2021-03-18 07:02:56 -06:00
desbma
dc2ee91b7e Improve CPU usage by invoking task less often
Only invoke task to export tasks data when pending.data taskwarrior file has changed.

This reduces CPU usage when idle from 50% to 2% on my system.
2021-03-01 01:26:37 +01:00
Dheepak Krishnamurthy
169ee6e6e5 Fix colors with comprehensive tests 2021-02-16 03:25:41 -07:00
Dheepak Krishnamurthy
eeeb6303fc Add more tags 2021-02-15 17:29:25 -07:00
Dheepak Krishnamurthy
cadfa35244 More accurate colors 2021-02-15 12:02:02 -07:00
Dheepak Krishnamurthy
374f90a348 Fix colors using blend 2021-02-14 19:04:16 -07:00
Dheepak Krishnamurthy
8465616621 Update tests 2021-02-14 16:19:08 -07:00
Dheepak Krishnamurthy
c70ed66c75 Run cargo fmt 2021-02-14 08:37:11 -07:00
Dheepak Krishnamurthy
ad9d31fcf7 Fix priority color 2021-02-14 08:33:34 -07:00
Dheepak Krishnamurthy
42bbc09168 Fix due tag color 2021-02-14 00:10:11 -07:00
Dheepak Krishnamurthy
da22c85282 Fix crashes on using depends 2021-02-13 16:32:47 -07:00
desbma
1242229eed Get default filter from taskrc 2021-02-14 00:12:02 +01:00
Dheepak Krishnamurthy
4909e0df33 Run cargo fmt 2021-02-11 01:45:56 -07:00
Dheepak Krishnamurthy
1affc4d556 Run cargo clippy 2021-02-11 01:45:39 -07:00
Dheepak Krishnamurthy
e222b147cc Run cargo fmt 2021-02-11 01:24:41 -07:00
Dheepak Krishnamurthy
27ac07f1ed Fix color style getter 2021-02-11 00:08:44 -07:00
Angus McMillan
c502b51129
Fix colour defaults to support dark terminals
Changes default TColors to use Reset value instead
of black and white. This improves readability for
both light and dark terminals.
2020-11-15 19:05:04 +11:00
Dheepak Krishnamurthy
ae6e015069 Add configuration to disable looping 2020-11-03 12:32:17 -07:00
Dheepak Krishnamurthy
0aae32a706 Make calendar background color configurable 2020-11-03 03:05:11 -07:00
Dheepak Krishnamurthy
9a83417067 Add color for active context in context switcher 2020-11-03 00:11:42 -07:00
Dheepak Krishnamurthy
7706ae3cfe Use from_utf8_lossy instead of from_utf8 everywhere 2020-10-31 10:28:09 -06:00
Dheepak Krishnamurthy
252ebc3d6e Revert 42d2704 2020-10-29 00:11:04 -06:00
Dheepak Krishnamurthy
42d2704bb7 Use unwrap everywhere to debug snap 2020-10-29 00:00:35 -06:00
Dheepak Krishnamurthy
4d5243e21e Rename TConfig to Config 2020-10-27 15:08:23 -06:00
Dheepak Krishnamurthy
9c2e296484 Autoformat code 2020-10-27 15:04:29 -06:00
Dheepak Krishnamurthy
f56a2388d1 Support using attributes with either '-' or '_' 2020-10-26 23:42:47 -06:00
Dheepak Krishnamurthy
5689f444e7 Add uda.taskwarrior-tui.task-report.show-info 2020-10-26 23:37:04 -06:00
Dheepak Krishnamurthy
5e2eabfba9 Make active panel in bold 2020-10-24 23:52:04 -06:00
Dheepak Krishnamurthy
dc0234fd0e Return error to the user 2020-10-24 07:06:24 -06:00
Dheepak Krishnamurthy
b41f323096 Run cargo fmt 2020-10-22 21:52:36 -06:00
Dheepak Krishnamurthy
a6ab282442 Make some cargo clippy changes 2020-10-22 21:52:00 -06:00
Dheepak Krishnamurthy
8071558dbe Use get_bool trait for String and str 2020-10-22 21:49:20 -06:00
Dheepak Krishnamurthy
6333e500f7 Add months_per_row to configuration 2020-10-22 15:07:18 -06:00
Dheepak Krishnamurthy
820fccb302 Fix task color for due.today, overdue and due 2020-10-21 01:58:41 -06:00
Dheepak Krishnamurthy
7208d7879d Fix task color when tagged 2020-10-21 01:33:23 -06:00
Dheepak Krishnamurthy
77e91f205e Run cargo fmt 2020-10-21 00:47:24 -06:00
Dheepak Krishnamurthy
6e194fe76e Run cargo fmt 2020-10-21 00:47:04 -06:00
Dheepak Krishnamurthy
ad16ef71af Support selection bold italic dim and blink 2020-10-21 00:45:59 -06:00
Dheepak Krishnamurthy
8dba10c1d2 Use uda.taskwarrior-tui. for configuration 2020-10-21 00:31:42 -06:00
Dheepak Krishnamurthy
b47bb6ce40 Match taskwarrior color implementation more closely 2020-10-21 00:13:12 -06:00
Dheepak Krishnamurthy
92f53291fc Support configuration of indicator from taskrc 2020-10-20 17:03:19 -06:00