8000 make no-mouse default true by shantanugadgil · Pull Request #419 · dundee/gdu · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

make no-mouse default true #419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

shantanugadgil
Copy link

make the option --no-mouse true by default.

Rationale: users of gdu would be used to ncdu where text selection is ON by default. If I am using gdu on a remote server, my use of text-selection is even more obvious.

Ideally the option --no-mouse could be turned as --mouse with "false" as default.

Putting this PR out there to see if it is OK.

make the option `--no-mouse` `true` by default.

Rationale: users of `gdu` would be used to `ncdu` where text selection is ON by default.
If I am using gdu on a remote server, my use of text-selection is even more obvious.

Ideally the option `--no-mouse` could be turned as `--mouse` with "false" as default.

Putting this PR out there to see if it is OK.
Copy link
codecov bot commented Jun 14, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.50%. Comparing base (2099170) to head (4dafccb).

Files with missing lines Patch % Lines
cmd/gdu/main.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #419   +/-   ##
=======================================
  Coverage   83.50%   83.50%           
=======================================
  Files          46       46           
  Lines        4408     4408           
=======================================
  Hits         3681     3681           
  Misses        655      655           
  Partials       72       72           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

fix the warnings from staticheck based on the following.
silencing the strings.Title as there is lint comment previously present

$ staticcheck ./...
report/export.go:70:9: error strings should not be capitalized (ST1005)
report/export.go:75:9: error strings should not be capitalized (ST1005)
report/import.go:31:15: error strings should not be capitalized (ST1005)
report/import.go:36:15: error strings should not be capitalized (ST1005)
report/import.go:50:15: error strings should not be capitalized (ST1005)
report/import.go:54:15: error strings should not be capitalized (ST1005)
tui/actions.go:195:3: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead.  (SA1019)
tui/marked.go:58:6: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead.  (SA1019)
@shantanugadgil
Copy link
Author

accidentally committed multiple changes to same branch. closing PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0