mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-10-23 08:07:34 -06:00
[PR #214] [MERGED] feat(cli): add option --readonly to CLI #218
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github-starred/nvitop#218
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/XuehaiPan/nvitop/pull/214
Author: @XuehaiPan
Created: 5/6/2026
Status: ✅ Merged
Merged: 5/6/2026
Merged by: @XuehaiPan
Base:
main← Head:cli-readonly📝 Commits (1)
1cd9a87feat(cli): add option--readonlyto CLI📊 Changes
11 files changed (+209 additions, -154 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
README.md(+23 -18)📝
nvitop/cli.py(+18 -5)📝
nvitop/tui/library/__init__.py(+9 -1)📝
nvitop/tui/library/messagebox.py(+54 -2)📝
nvitop/tui/library/selection.py(+40 -2)📝
nvitop/tui/screens/help.py(+10 -1)📝
nvitop/tui/screens/main/__init__.py(+1 -29)📝
nvitop/tui/screens/main/panels/process.py(+22 -13)📝
nvitop/tui/screens/treeview.py(+29 -83)📝
nvitop/tui/tui.py(+2 -0)📄 Description
Issue Type
Runtime Environment
3.8.2/3.9.6]460.84]nvitopversion or commit: [e.g.0.10.0/0.10.1.dev7+ga083321/main@75ae3c]python-ml-pyversion: [e.g.11.450.51]C/C.UTF-8/en_US.UTF-8]Description
Add
--readonlyCLI flag (and equivalentNVITOP_MONITOR_MODE="readonly"env token) for monitor mode that disables all process-mutating shortcuts (Ctrl-c/T/K/I/k)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.