8dce3ece2b
Open in browser: show menu item only if web port is published
2020-12-12 21:50:08 +02:00
dd92e85d45
Open in browser
...
Most containers expose some http port. We can open it in browser.
For simplicity we can just open first container's published port.
We'll determine the ip:port on container creation and store to meta "Web Port".
To open browser on any platform was added a new dependency github.com/pkg/browser which is very small
2020-12-12 21:21:53 +02:00
fa254c652c
Columns settings: add hint for re-order columns
2020-11-27 22:34:55 +02:00
a59c7aab3c
Fix: enable pause [p] only for running or paused container
2020-11-27 22:28:58 +02:00
53a6b36bf5
exec shell: detect default shell
...
Instead of using configured shell (e.g. bash) we can autodetect default container user's shell and execute it.
This is much safer because not all containers may have installed shell that is configured in ctop.
2020-11-20 10:42:52 +02:00
5ec02f760e
exec shell: remove shell config or option
...
The option is never worked and can't properly work because almost all containers anyway using Ash/Dash from /bin/sh
2020-11-20 10:39:28 +02:00
83a422933a
exec shell: on error show a status message instead of fatal exit
2020-11-20 10:33:44 +02:00
7679d4a7fd
exec shell: fix shell config
...
Currently each time when ctop started it overwrites "shell" config with default value of program argument.
This means that in fact default shell config is never worked at all.
2020-11-20 10:31:00 +02:00
d34de844e0
add column config key to help menu
2020-10-25 10:31:51 -04:00
09566a4043
add optional tooltip to menu widget
2020-10-25 10:31:51 -04:00
f11a705b8b
add padding to column menu
2020-10-25 10:31:51 -04:00
7c6b5c54dc
init column config menu
2020-10-25 10:31:51 -04:00
73986d2732
Enable cursor
2019-05-13 15:47:22 +03:00
b8c38d09ef
add exec shortcut key to container menu
2019-05-12 20:23:29 +00:00
d7384db373
Merge branch 'exec' of https://github.com/fr05t1k/ctop into fr05t1k-exec
2019-05-12 15:31:33 -04:00
9592de82a0
add keyboard shortcuts to container menu
2019-01-24 14:06:40 +00:00
ca35ef2aab
Unnecessary loop stopping
2018-10-28 12:07:43 +02:00
a26fc9169c
Ability to change Shell
2018-10-25 21:58:33 +03:00
967a87a65f
Exec using API
2018-10-13 08:33:53 +03:00
e68f7ba96a
fix: handlers used to work after "exec sh" command
...
feature: hot key for "exec sh"
2018-10-12 10:03:27 +03:00
f27de1c29e
Exec Sh Feature
2018-10-07 16:46:32 +03:00
f7a3d38d6b
add more commands in container manager menu
...
Signed-off-by: xiechengsheng <XIE1995@whut.edu.cn >
2018-06-22 15:41:16 +08:00
17855e3d8e
add container name to log view title
2018-05-10 09:53:59 +00:00
1c7cf98e58
handle window resize in help dialog
2018-02-02 15:21:33 +00:00
d743472b16
add support for config file, keybinding for exporting active config
2018-01-11 13:15:18 -03:00
6d37a4e333
enable remove action for "created" state containers
2018-01-11 11:40:21 -03:00
eb49e51ffb
prevent recursive/nested running menus, handle all within main Display() loop
2018-01-11 11:23:28 -03:00
734d4bfc0c
add optional subtext to menu widget
2018-01-11 10:56:00 -03:00
0e75bbda58
add confirmation dialog for container management actions
2018-01-11 10:26:58 -03:00
8b5eb21ac3
add logs to container menu
2018-01-10 18:10:11 -03:00
c958e4c34e
move keybinding for single view, add single view to container menu
2018-01-10 15:45:14 -03:00
ab48d830d1
import formatting
2017-12-13 09:20:14 +08:00
0a6e6f02a4
added option to toggle log timestamp in the log view, closes #107
2017-12-08 11:35:04 +00:00
53c0f2a9df
add resize handling to log view
2017-11-28 08:55:29 -05:00
28389aa38c
gofmt
2017-11-28 08:40:43 -05:00
a0e0da1da9
Added 'view logs binding'
2017-11-25 18:30:50 +00:00
436266b1a4
added container menu closes #28
2017-11-20 11:09:36 +00:00
b85ca680f0
restructure container,connectors in subpackage
2017-06-08 11:51:02 -03:00
38599bbd19
add keymap, handle wrapper for common keybindings
2017-03-15 08:34:58 +10:00
ca61ec712e
prepopulate filter input with current filter, add esc handler
2017-03-13 08:32:33 +11:00
0e3fe88bb4
use consistent case for ctop name
2017-03-09 10:40:35 +11:00
bf4d59c251
clear screen conditionally
2017-03-08 11:10:38 +11:00
b8eb386360
add global default ColorMap
2017-03-08 10:40:03 +11:00
98d8dc62f9
add stream to input widget, realtime filtering updates
2017-03-07 12:47:07 +11:00
a1d68833fa
lower logging, add keybindings to help menu
2017-03-07 11:09:46 +11:00
93db38d654
align ctop header on resize, add keybinding to help dialog
2017-02-20 10:52:59 +11:00
8f8474e468
move compact field header into widgets
2017-02-19 15:09:27 +11:00
84849a0c9f
add SetCursor method to menu
2017-02-19 14:54:24 +11:00
db050031df
check for nil listener before close
2017-02-18 14:37:00 +11:00
a1f860a020
export config struct fields, add convenience methods for value fetching
2017-02-16 15:06:05 +11:00