Commit Graph

120 Commits

Author SHA1 Message Date
Brian Mattern
6d0eae1f0b Fix counter when list has 0 items. 2019-06-03 15:18:40 -07:00
Brian Mattern
bb44c222ef Add cursor while editing filter.
Also, change from [Filter: ...] to Filter: [...].
2019-06-03 15:14:22 -07:00
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
5941bec6c1 Update process list immediately when filter changes. 2019-06-03 14:08:57 -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
Caleb Bassi
12dfe76c8c Fix localization issues on macOS (#124) 2019-05-28 11:48:12 -07:00
Matthias Gamsjager
212caf48a9 Fix temperatures on FreeBSD 2019-05-28 11:48:08 -07:00
Matthias Gamsjager
45b5b2dbc0 Fix issues with swap memory on FreeBSD 2019-05-28 11:48:04 -07:00
Matthias Gamsjager
6907f598f8 Fix process localization issues on FreeBSD 2019-05-28 11:47:55 -07:00
Caleb Bassi
f6994e843d
Merge pull request #144 from mattLLVW/feature/network_interface
select network interface
2019-05-15 17:19:44 -07:00
Caleb Bassi
d5f2fef5dd Change network widget title based on interface 2019-05-15 17:13:36 -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
Matthias Gamsjager
ea5e097d52 Proper json helper 2019-05-14 13:00:04 +02:00
Matthias Gamsjager
68d38a61d7 Create separate file for FreeBSD 2019-05-14 12:57:05 +02:00
Caleb Bassi
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
Alex Aubuchon
e7dff53936 Remove partial comment 2019-03-25 11:15:35 -04:00
Alex Aubuchon
0f2a5d1e9a Add a scroll location indicator to the process table 2019-03-22 18:24:11 -04:00
Gabriel Sanches
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
Caleb Bassi
ade4f2a623 Minor refactor 2019-03-11 23:02:45 -07:00
Omar Polo
341a0b4f27
complete the refactor 2019-03-11 21:35:13 +01:00
Caleb Bassi
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
Caleb Bassi
35223403c1 Fix sparkline after upgrading termui 2019-03-08 14:11:55 -08: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
CodeLingo Bot
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
Caleb Bassi
71e10bb6be Refactor 2019-02-28 17:46:18 -08:00
Caleb Bassi
8be8163e45
Merge pull request #112 from omar-polo/master
OpenBSD support
2019-02-23 10:18:47 -08:00
Caleb Bassi
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
Caleb Bassi
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
Omar Polo
5841570123
followed golint & gofmt advices 2019-02-18 14:09:36 +01:00
Omar Polo
175cfef2e1
implemented Temp.update for openbsd 2019-02-18 11:13:10 +01:00
Omar Polo
a1c99bb10f
add openbsd to build tag 2019-02-18 10:51:34 +01:00
whuang8
d6008391c3 Remove -ww from macOS ps call 2019-02-10 08:16:12 -06:00
whuang8
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
Caleb Bassi
e8f77eef12 Move drawille-go into termui folder 2019-02-06 02:08:58 -08:00
Caleb Bassi
8081067cc2 Fix drawille-go dependency (#105) 2019-02-06 01:34:17 -08:00
Caleb Bassi
5fb804f336 Fork distatus/battery to fix plist import (#105) 2019-02-06 01:20:22 -08:00
Caleb Bassi
0614dbfbfb Fix cropped process names on OSX (#47) 2019-02-05 14:41:04 -08:00
Caleb Bassi
d9607af034 Refactor 2019-02-03 21:04:57 -08:00
Caleb Bassi
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
Caleb Bassi
c5e9511157 Fix Battery widget panic (#100) 2019-01-30 15:20:09 -08:00
Caleb Bassi
daf06909db Fix possible concurrent map write in cpu widget 2019-01-26 14:10:49 -08:00
Caleb Bassi
ecd9a32230 Fix temperature position with '-f' flag specified (Close #97) 2019-01-26 14:01:20 -08:00
Caleb Bassi
9235982f70 Fix 78aed0d 2019-01-25 20:25:41 -08:00
Caleb Bassi
78aed0d9bf Replace panic calls with logging in widgets 2019-01-25 20:04:37 -08:00
Caleb Bassi
6d3425b394 Add -c flag to ps on OSX and FreeBSD 2019-01-25 15:35:21 -08:00
Caleb Bassi
fdb4d5d5ff Remove old comments 2019-01-23 22:09:02 -08:00