linutil
linutil copied to clipboard
feat: Implement minimum TUI size
Pull Request
Title
Implement minimum TUI size
Type of Change
- [x] New feature
- [x] UI/UX improvement
Description
- Display a warning message if the terminal size is small
- Prevents entries from not appearing on screen. Refer issue https://github.com/ChrisTitusTech/linutil/issues/242
- The method to resolve the issue is to render the TUI only when the size of TUI is above a certain threshold
Impact
- Disables users from accessing the UI when the terminal size is small
Issue related to PR
- Resolves https://github.com/ChrisTitusTech/linutil/issues/242
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.
- [x] My changes generate no errors/warnings/merge conflicts.
Nice! bashtop also has a feature like this.
I see, I think i should change Terminal size too small to current size. What do you think ?
I see, I think i should change Terminal size too small to current size. What do you think ?
No, the current version is fine how it is.