Faster resize
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
In Progress
|
Wishlist
|
Unassigned |
Bug Description
So I have a patch floating around that I have been maintaining for some time, it's very simple and does not break existing setups. Instead of manually adapting at every release, I wondered if it could be merged.
Split terminals can be resized (by default) with ctrl + shift + arrow keys. If you have a very big screen, that can be slow (eg from 30 to 400 columns). I propose a faster resize option (by default bound to shift + arrow keys) that makes things faster.
The attached patch implements these new functions. It's against 1.91.
There's a new config option (fast_resize_step) which defines the size to use at each resizing step for fast resizing (50 by default, the bigger the value, the faster the resize). The new ops are bound, by default, to shift + arrow keys, which can of course be changed like other key bindings.
Related branches
- Terminator: Pending requested
-
Diff: 395 lines (+159/-18)8 files modifieddoc/terminator_config.5 (+20/-0)
terminatorlib/config.py (+5/-0)
terminatorlib/container.py (+1/-1)
terminatorlib/notebook.py (+1/-1)
terminatorlib/paned.py (+13/-7)
terminatorlib/preferences.glade (+80/-3)
terminatorlib/prefseditor.py (+22/-1)
terminatorlib/terminal.py (+17/-5)
Another, simpler, option would be to directly make the step used when using ctrl + shift + arrow key configurable, rather than the fixed value of 10 that is used now. This way there's no need to add four new operation and corresponding keyboard bindings. I'm fine with this solution as well (can produce a patch).