blacknon / hwatch

A modern alternative to the watch command, records the differences in execution results and can check this differences at after.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FR: UI Improvement

KAGEYAM4 opened this issue · comments

Something similar to https://github.com/sachaos/viddy.

Currently UI is very congested if Terminal window is small ->

image

Backspace will hide the history window.

For now, re check the entire UI.

  • Change default display according to screen size (header/history pane display)
  • Consider header display content

Sorry, i missed your previous reply.

Would it be possible to have Boxes around text elements inorder to distinguish from other text and maybe some rearrangement of items. Similar to this or some other way ->
image


Also i can make seprate FR for this if you would like -> in viddy diff numbers are shown, like how many lines got added or removed. Which is very helpful to get an idea where things might have happened in past.
image

Not set history pane frame is my personal preference, and since it is supported by the library, it should be possible to adapt it immediately.

I think the following pattern is a possible way to implement it, so I will apply it as an option.
(Probably 1 if you want to make it optional.)

  1. boarder in to frame the header and history pane
  2. Change the background color of the header and history pane to make the breaks more visible

do not need to create a new Issue.

Hi.
I updated it like this.
By default, changes can be made using the following shortcut keys.

  • B ... with border
  • S ... with scroll bar
  • Shift + S ... with summary

Screenshot from 2024-06-09 19-08-56

Yes this looks good. Thank you.