ddworken / hishtory

Your shell history: synced, queryable, and in context

Home Page:https://hishtory.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support horizontal scrolling for all table columns

hongyi-zhao opened this issue · comments

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

image

Regards,
Zhao

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.

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.

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

image