ddworken / hishtory

Your shell history: synced, queryable, and in context
https://hishtory.dev
MIT License
2.48k stars 46 forks source link

Support horizontal scrolling for all table columns #188

Closed hongyi-zhao closed 6 months ago

hongyi-zhao commented 7 months ago

How can I let hishtory display very long directories and commands, as shown below?

image

Regards, Zhao

ddworken commented 6 months ago

Currently, it is possible to horizontally scroll the command by pressing shift and either left/arrow keys (this is visible in the help page that you can see via control+h). Though it currently isn't possible to horizontally scroll for other columns, so we can make this issue a feature request to support this.

ddworken commented 6 months ago

This is now available in the latest release, if you run hishtory update it will be possible to horizontally scroll through the table via shift+left/right.

hongyi-zhao commented 6 months ago

I tried your above PR, but it doesn't seem to apply on all table columns, say the following one:

image