Commit Graph

126 Commits

Author SHA1 Message Date
246ebfbff2 Remove unused duplicate definition. 2019-06-06 11:08:05 -07:00
129f6c238a Remove default filter (oops). 2019-06-04 15:11:58 -07:00
9c0253ef31 Factor Entry widget out of proc. 2019-06-04 15:09:09 -07:00
84a4bbd440 Fix fullwidth rune handling. 2019-06-04 14:25:35 -07:00
f3b451c887 Move filter event handling into proc widget. 2019-06-03 16:02:22 -07:00
8549ae34a1 Add padding around filter label and edit box. 2019-06-03 15:30:10 -07:00
6d0eae1f0b Fix counter when list has 0 items. 2019-06-03 15:18:40 -07:00
bb44c222ef Add cursor while editing filter.
Also, change from [Filter: ...] to Filter: [...].
2019-06-03 15:14:22 -07:00
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
5941bec6c1 Update process list immediately when filter changes. 2019-06-03 14:08:57 -07:00
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
12dfe76c8c Fix localization issues on macOS (#124) 2019-05-28 11:48:12 -07:00
212caf48a9 Fix temperatures on FreeBSD 2019-05-28 11:48:08 -07:00
45b5b2dbc0 Fix issues with swap memory on FreeBSD 2019-05-28 11:48:04 -07:00
6907f598f8 Fix process localization issues on FreeBSD 2019-05-28 11:47:55 -07:00
f6994e843d Merge pull request #144 from mattLLVW/feature/network_interface
select network interface
2019-05-15 17:19:44 -07:00
d5f2fef5dd Change network widget title based on interface 2019-05-15 17:13:36 -07:00
622f27f886 functional 2019-05-14 22:26:22 +02:00
2be4549c15 started 2019-05-14 18:09:17 +02:00
ea5e097d52 Proper json helper 2019-05-14 13:00:04 +02:00
68d38a61d7 Create separate file for FreeBSD 2019-05-14 12:57:05 +02:00
56662fda14 Merge pull request #130 from A-lxe/process-list-location-indicator
Add a scroll location indicator to the process table
2019-04-08 00:09:31 -07:00
e7dff53936 Remove partial comment 2019-03-25 11:15:35 -04:00
0f2a5d1e9a Add a scroll location indicator to the process table 2019-03-22 18:24:11 -04:00
b51b78f796 Fix "TX" being displayed as "Tx"
"RX" is all caps so either "TX" should also be or none. All caps might be the most common form for both.
2019-03-21 13:20:50 -03:00
ade4f2a623 Minor refactor 2019-03-11 23:02:45 -07:00
341a0b4f27 complete the refactor 2019-03-11 21:35:13 +01:00
70339c4330 Merge pull request #123 from CodeLingoBot/rewrite
Fix function comments based on best practices from Effective Go
2019-03-08 15:58:07 -08:00
35223403c1 Fix sparkline after upgrading termui 2019-03-08 14:11:55 -08:00
c2c941e94b Refactor utils 2019-03-08 13:55:50 -08:00
903d33178d Replace custom widget locking with termui's locking 2019-03-08 13:53:12 -08:00
96535ccadd Upgrade termui to v3 2019-03-07 23:15:41 -08:00
9d7020b680 Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-03-07 02:35:21 +00:00
71e10bb6be Refactor 2019-02-28 17:46:18 -08:00
8be8163e45 Merge pull request #112 from omar-polo/master
OpenBSD support
2019-02-23 10:18:47 -08:00
27a9ea080b Switch back to using distatus/battery upstream repo
Got PR merged upstream https://github.com/distatus/battery/pull/10
2019-02-22 11:52:07 -08:00
8c5982f81c Minor openbsd refactor 2019-02-21 20:12:17 -08:00
zp
7978b4ed5f Fix disk IO stats 2019-02-21 15:55:46 -06:00
5841570123 followed golint & gofmt advices 2019-02-18 14:09:36 +01:00
175cfef2e1 implemented Temp.update for openbsd 2019-02-18 11:13:10 +01:00
a1c99bb10f add openbsd to build tag 2019-02-18 10:51:34 +01:00
d6008391c3 Remove -ww from macOS ps call 2019-02-10 08:16:12 -06:00
60b913a93e Fix inability to display command names with whitespace in MacOS
Co-authored-by: Fiona Thompson <fionabronwen@gmail.com>
2019-02-09 16:43:09 -06:00
e8f77eef12 Move drawille-go into termui folder 2019-02-06 02:08:58 -08:00
8081067cc2 Fix drawille-go dependency (#105) 2019-02-06 01:34:17 -08:00
5fb804f336 Fork distatus/battery to fix plist import (#105) 2019-02-06 01:20:22 -08:00
0614dbfbfb Fix cropped process names on OSX (#47) 2019-02-05 14:41:04 -08:00
d9607af034 Refactor 2019-02-03 21:04:57 -08:00
dbf25cdd85 Fix temperatures not showing (#101, #103)
Sometimes a temperature sensor file in `/sys/class/hwmon/hwmon*/temp*_*` will return 'ENETDOWN: Network is down' when being read for some reason, which gopsutil propogates up to gotop. gopsutil still returns a slice of valid temperatures when it errors, so we can render those instead of ignoring the return value.
2019-02-03 20:26:57 -08:00
c5e9511157 Fix Battery widget panic (#100) 2019-01-30 15:20:09 -08:00