linutil icon indicating copy to clipboard operation
linutil copied to clipboard

feat: Add scroll

Open jeevithakannan2 opened this issue 5 months ago • 1 comments

Type of Change

  • [x] New feature
  • [ ] Bug fix
  • [ ] Documentation update
  • [ ] Refactoring
  • [ ] Hotfix
  • [ ] Security patch
  • [x] UI/UX improvement

Description

  • Add scroll when running commands.
  • Scroll using Page Up and Page Down.
  • Up and Down arrow keys are not used because it would intercept their functionality in terminal https://github.com/ChrisTitusTech/linutil/pull/643#issuecomment-2368455715

Testing

  • Works as expected.

Issues / other PRs related

  • Resolves #640

Additional Information

  • The maximum scroll limit is set to 200. Can be increased in future

Checklist

  • [x] My code adheres to the coding and style guidelines of the project.
  • [x] I have performed a self-review of my own code.
  • [x] I have commented my code, particularly in hard-to-understand areas.
  • [ ] I have made corresponding changes to the documentation.
  • [x] My changes generate no errors/warnings/merge conflicts.

jeevithakannan2 avatar Sep 23 '24 13:09 jeevithakannan2