Termux-app: Horizontal scrolling in termux app

Created on 6 Jan 2020  路  2Comments  路  Source: termux/termux-app

Feature description
Termux should have horizontal scrolling , similar to vertical scroll,

Most helpful comment

That's really not how terminals work. Output is always wrapped at width of terminal. In order for horizontal scrolling termux would have to report it's width to be greater than it actually is and this would cause a lot of ncurses and similar programs to be sized to whatever that size is and look really messy.

One other possibility would be to simply translate horizontal scrolling to arrow keys, but that would only work in very few programs (like running less --chop-long-lines --shift 1)

All 2 comments

That's really not how terminals work. Output is always wrapped at width of terminal. In order for horizontal scrolling termux would have to report it's width to be greater than it actually is and this would cause a lot of ncurses and similar programs to be sized to whatever that size is and look really messy.

One other possibility would be to simply translate horizontal scrolling to arrow keys, but that would only work in very few programs (like running less --chop-long-lines --shift 1)

Thanks

Was this page helpful?
0 / 5 - 0 ratings