Commit Graph

85 Commits

Author SHA1 Message Date
Brian Mattern
2aea13bf0a Refactor filter editing input handling.
Only swallow events that are explicitly handled by the editor. Fall
through to the default event handling for all other events.

Also, cancel editing on <Escape> and fix README file formatting.
2019-06-03 14:38:09 -07:00
Brian Mattern
866281cc42 First pass at filter support.
Press / to input a filter string. The proc list will be filtered to
procs that contain the filter as a substring of either the command or
the string representation of the PID.
2019-05-31 23:20:55 -07:00
matt LLVW
622f27f886 functional 2019-05-14 22:26:22 +02:00
matt LLVW
2be4549c15 started 2019-05-14 18:09:17 +02:00
Omar Polo
ff7d00d7dc
re-render statusbar on every tick 2019-03-17 15:54:56 +01:00
Caleb Bassi
c2c941e94b Refactor utils 2019-03-08 13:55:50 -08:00
Caleb Bassi
903d33178d Replace custom widget locking with termui's locking 2019-03-08 13:53:12 -08:00
Caleb Bassi
96535ccadd Upgrade termui to v3 2019-03-07 23:15:41 -08:00
Caleb Bassi
71e10bb6be Refactor 2019-02-28 17:46:18 -08:00
Caleb Bassi
867cf2b9e4 v3.0.0 2019-02-22 11:53:36 -08:00
Caleb Bassi
334f08bc5a Revert back to using XDG on macOS 2019-02-22 11:52:02 -08:00
Caleb Bassi
357ff01fe3 Change -v to -V for version 2019-02-22 11:50:16 -08:00
Tony Lambiris
aa56f2b2a6
Add vice colorscheme based on vim-vice 2019-02-21 02:51:49 -05:00
Caleb Bassi
0ed7e58984 v2.0.2 2019-02-16 01:41:00 -08:00
Caleb Bassi
bfeb9f8f5a v2.0.1 2019-02-07 00:29:36 -08:00
Caleb Bassi
ad333cf4a2 Refactor 2019-02-06 17:20:32 -08:00
Caleb Bassi
ee3c96bc97 Fix panic on resize 2019-02-06 02:14:26 -08:00
Caleb Bassi
95b6665026 Fix statusbar not showing (Close #98) 2019-02-01 23:22:27 -08:00
Caleb Bassi
93d631ef67 Fix Home key not working 2019-02-01 23:06:57 -08:00
Caleb Bassi
c48984563e Switch to master branch of gizak/termui after its update 2019-01-23 21:23:35 -08:00
Caleb Bassi
97f490be80 Fix data race between rendering and updating 2019-01-19 20:34:19 -08:00
Caleb Bassi
523a190e66 Refactor 2019-01-19 19:37:31 -08:00
Caleb Bassi
f4a57201f7 Bump version 2019-01-18 18:09:56 -08:00
Caleb Bassi
c1d7aad179 Fix custom colorscheme not loading (Close #93) 2019-01-14 19:39:37 -08:00
Caleb Bassi
832fab9169 Fix certain logs 2019-01-12 16:44:41 -08:00
Caleb Bassi
16619176d1 Change log directory
Linux: $XDG_STATE_HOME/gotop (~/.local/share/state/gotop)
OSX: $HOME/Library/Logs/gotop
2019-01-12 16:40:43 -08:00
Caleb Bassi
e74e48424a Refactor 2019-01-12 16:40:05 -08:00
Caleb Bassi
49f89cf7e9 Fix event handling when help menu is visible (Close #90) 2019-01-07 20:10:09 -08:00
Caleb Bassi
d8434b87c8 Update readme and cli arg help menu 2019-01-04 10:02:07 -08:00
Sean E. Russell
2a6a479d11 Merge https://github.com/cjbassi/gotop
Disable all battery code if battery not selected in options.
Refactors widgetCount to localize use.
2019-01-01 11:04:31 -06:00
Caleb Bassi
5d17121510 Add statusbar (Close #72) 2019-01-01 02:15:31 -08:00
Caleb Bassi
2e48524cc9 Port to termui 2.0 2018-12-31 18:23:45 -08:00
Sean E. Russell
5ee4b4a978 Adds battery support
Cleans up mod file; adds flag for battery.

Adds documentation; fixes missing color sets for battery.
2018-12-26 23:15:44 -06:00
Caleb Bassi
7b77956fee Fix docopt import path 2018-12-24 13:09:30 -08:00
Caleb Bassi
b6e6e343d3 Code cleanup 2018-12-22 19:24:12 -08:00
Caleb Bassi
454098514e Fix config path location on Windows and OSX
Config path was $XDG_CONFIG_HOME/gotop on all platforms, but the config path specification is different on Windows and OSX
2018-12-22 18:41:05 -08:00
Caleb Bassi
d809390c82 Bump version 2018-12-13 22:42:46 -08:00
Caleb Bassi
b3ea19605d Close #86 2018-12-13 22:05:22 -08:00
Caleb Bassi
015f458392 Bump version 2018-12-12 18:19:00 -08:00
Caleb Bassi
c1e7986ed0 Fix stderr redirection on arm64 2018-12-12 18:18:43 -08:00
Caleb Bassi
ce4f867bc1 Refactor error handling in main.go 2018-12-10 22:27:05 -08:00
Caleb Bassi
8548428db4 Redirect stderr to logfile 2018-12-09 21:32:12 -08:00
Caleb Bassi
5de58c6964 Refactor logging in main 2018-12-09 21:19:09 -08:00
Caleb Bassi
c7171781c1 Log to file on errors
- Also recover from issue #12
- Make config path management more portable
2018-12-04 21:44:49 -08:00
Caleb Bassi
3dee8bc6f2 Fix 'gg' and 'dd' keypresses 2018-12-04 21:07:14 -08:00
Caleb Bassi
db57b40659 Refactor config directory into global variable 2018-12-04 15:22:41 -08:00
Caleb Bassi
1ab25d0f16 Bump version 2018-12-01 21:19:10 -08:00
Tony Lambiris
f66833c2cc Add --fahrenheit flag, fix CPU ordering 2018-12-01 20:44:12 -08:00
Caleb Bassi
8ee8950ba2 Refactor
Updated event management based on changes to termui
2018-11-29 18:17:13 -08:00
Caleb Bassi
7da570d782 Bump version 2018-11-15 10:35:33 -08:00