ahp
78e85dc4df
feat(theme): add catppuccin themes with transparency and 256-color support
...
Add a theme package providing all four catppuccin flavors (mocha,
frappe, macchiato, latte) mapped to the xterm-256 palette. Themes are
selected with -theme or the CTOP_THEME environment variable; -i inverts
the flavor. Background slots use the terminal's native color for
transparency (opt out with -solid / CTOP_SOLID), and termbox is switched
to Output256 so colors render correctly. Replace hardcoded colors in the
compact and single views with ctheme portrait slots.
2026-09-14 14:06:49 +03:30
garsue
78b038e687
Use runewidth to increment x in TextView
2021-05-29 19:48:02 +09:00
Bradley Cicenas
09566a4043
add optional tooltip to menu widget
2020-10-25 10:31:51 -04:00
Bradley Cicenas
7c6b5c54dc
init column config menu
2020-10-25 10:31:51 -04:00
Bradley Cicenas
54fc5ac5c6
Revert "shows total memory usage"
...
This reverts commit 1271ce96e8 .
2020-10-25 10:31:51 -04:00
Marcos Diez
15c5c31726
shows total memory usage
2020-10-25 10:23:31 -04:00
Bradley Cicenas
c0db41ebcb
Revert "shows total memory usage"
...
This reverts commit 1271ce96e8 .
2020-10-25 10:23:30 -04:00
Marcos Diez
9bcf2c2c7a
shows total memory usage
2020-10-25 10:23:30 -04:00
Bradley Cicenas
0a5a4c9062
add multi-line scrolling support, timestamps to error view
2019-05-22 17:38:01 +00:00
Bradley Cicenas
98fcfe8b6f
refactor connectors for retry logic, add error view
2019-05-22 16:58:55 +00:00
CodeLingo Bot
b401e7b17e
Fix function comments based on best practices from Effective Go
...
Signed-off-by: CodeLingo Bot <bot@codelingo.io >
2019-03-07 02:33:29 +00:00
bartfokker
db3d7e8927
change strings.Index for strings.Contains
2018-10-25 22:14:00 +02:00
Bradley Cicenas
d46ce783c2
add statusline widget, status messages to logging
2018-01-11 15:19:01 -03:00
Bradley Cicenas
734d4bfc0c
add optional subtext to menu widget
2018-01-11 10:56:00 -03:00
Peter Reisinger
0a6e6f02a4
added option to toggle log timestamp in the log view, closes #107
2017-12-08 11:35:04 +00:00
Peter Reisinger
d0b5c6c854
added test for text view split line
2017-12-01 15:51:55 +00:00
Peter Reisinger
bd8940ae0a
line wrapping in log view, closes #106
2017-12-01 15:29:11 +00:00
Bradley Cicenas
53c0f2a9df
add resize handling to log view
2017-11-28 08:55:29 -05:00
Bradley Cicenas
28389aa38c
gofmt
2017-11-28 08:40:43 -05:00
Peter Reisinger
a0e0da1da9
Added 'view logs binding'
2017-11-25 18:30:50 +00:00
Bradley Cicenas
38599bbd19
add keymap, handle wrapper for common keybindings
2017-03-15 08:34:58 +10:00
Bradley Cicenas
06c4b24212
add 0..9 to valid input chars
2017-03-13 08:31:51 +11:00
Bradley Cicenas
168e8f3aae
implement Buffer() method for ctop header
2017-03-09 19:33:25 +11:00
Bradley Cicenas
0e3fe88bb4
use consistent case for ctop name
2017-03-09 10:40:35 +11:00
Bradley Cicenas
b8eb386360
add global default ColorMap
2017-03-08 10:40:03 +11:00
Bradley Cicenas
98d8dc62f9
add stream to input widget, realtime filtering updates
2017-03-07 12:47:07 +11:00
Bradley Cicenas
38a1b305a7
grid updates, fix menu alignment
2017-03-06 13:00:30 +11:00
Bradley Cicenas
70f2648952
refactor all container widgets into subpackage
2017-02-27 09:04:24 +11:00
Bradley Cicenas
4aaf26b63d
add common column width calculation method, global column spacing
2017-02-27 08:23:56 +11:00
Bradley Cicenas
05b50af87b
add ContainerSource interface, fix secondary sort method
2017-02-27 08:12:28 +11:00
Bradley Cicenas
4709624b17
move field header into CompactGrid, add Align() method
2017-02-26 18:31:23 +11:00
Bradley Cicenas
b84e22fb90
refactor compact widgets into recursive gridbufferer
2017-02-26 17:22:50 +11:00
Bradley Cicenas
c3bb7c6b96
further containermap refactoring
2017-02-24 20:10:14 +11:00
Bradley Cicenas
9b483ba2f3
include block positioning in menu item drawing
2017-02-20 11:01:27 +11:00
Bradley Cicenas
93db38d654
align ctop header on resize, add keybinding to help dialog
2017-02-20 10:52:59 +11:00
Bradley Cicenas
335ac8d741
smooth cursor, row rendering. add maxRows calc to grid
2017-02-20 10:23:59 +11:00
Bradley Cicenas
8f8474e468
move compact field header into widgets
2017-02-19 15:09:27 +11:00
Bradley Cicenas
84849a0c9f
add SetCursor method to menu
2017-02-19 14:54:24 +11:00
Bradley Cicenas
0e8480ce5d
render global header independent of grid rows
2017-02-18 14:31:50 +11:00
Bradley Cicenas
8d9e6fd273
redrawrows on resize
2017-02-18 11:59:13 +11:00
Bradley Cicenas
24b92384ac
resize indicator in gridview to override automatic alignment
2017-02-18 11:43:45 +11:00
Bradley Cicenas
9ddc99f788
refactor menu into subpackage
2017-02-15 18:40:16 +11:00
Bradley Cicenas
c9632c9bf6
add DelItem method to Menu
2017-02-15 17:15:03 +11:00
Bradley Cicenas
eb66f32a71
add SortItems param to Menu, AddItems method
2017-02-15 17:01:35 +11:00
Bradley Cicenas
b9bdc1c9c5
add Text() method, sorting to MenuItem
2017-02-15 16:31:04 +11:00
Bradley Cicenas
d031433ec4
refactor menu widget, add menuitem struct
2017-02-15 15:44:03 +11:00
Bradley Cicenas
97a561260a
add filter string to ctopheader
2017-02-13 14:37:17 +11:00
Bradley Cicenas
e49af4d5bf
bind input area to block coordinates
2017-02-13 14:16:36 +11:00
Bradley Cicenas
987da85db3
add container state checks, set status icon based on state string
2017-02-03 18:09:55 +11:00
Bradley Cicenas
9671fffbe9
add status indicator, setstatus method
2017-02-03 17:00:23 +11:00