Kovid Goyal
fc9980903d
Make layout names case-insensitive for enabled_layouts in sessions as well
2018-03-10 23:42:06 +05:30
Kovid Goyal
4dfe1b664f
Add configurable keyboard shortcuts to switch to a specific layout
...
Fixes #369
2018-03-10 23:34:47 +05:30
Kovid Goyal
96d241e9f3
Fix enabled_layouts in session files not being respected
2018-02-20 10:01:41 +05:30
Kovid Goyal
8f423c6d8f
Fix padding color not tracking active window bg color
2018-02-20 09:52:19 +05:30
Kovid Goyal
b8ab15bea8
Fix incorrect window border drawing for overlay windows
2018-02-06 09:41:19 +05:30
Kovid Goyal
647b95631f
Add tests for layout operations with an overlay window
2018-02-04 11:28:13 +05:30
Kovid Goyal
aa518b2520
Add tests for basic layout operations
2018-02-04 11:28:13 +05:30
Kovid Goyal
51c0f01539
Support for overlay windows in the layout manager
2018-02-04 11:28:02 +05:30
Kovid Goyal
04e1b8b1ae
tab bar blank rects dont extend down enough
2018-01-19 17:05:18 +05:30
Kovid Goyal
44a413df81
Fix blank rects on the sides of the tab bar not being drawn
2018-01-19 16:02:07 +05:30
Kovid Goyal
4f12c91fff
Use the new region function everywhere
...
Centralizes window layout calculation and no longer assumes
tab bar geometry
2018-01-19 15:56:07 +05:30
Kovid Goyal
23f2b29069
Add --keep-focus for @new-window
2018-01-10 12:36:15 +05:30
Kovid Goyal
c11a20f1ec
Add --new-tab to @new-window
2018-01-09 23:09:57 +05:30
Kovid Goyal
6ad49bd7fb
Add an option to override the default shell
2018-01-09 16:28:46 +05:30
Kovid Goyal
3e85497c2c
Implement @set-tab-title
2018-01-08 16:13:38 +05:30
Kovid Goyal
0cea6d5a1b
Implement window listing
2018-01-08 12:48:15 +05:30
Kovid Goyal
c551384369
Session file: Allow specifying multiple cd directives per tab to have different windows launched with different working directories
2018-01-08 12:38:01 +05:30
Kovid Goyal
c5acd94456
Add new actions to open tabs/windows with the working directory set to the working directory of the current window
...
Fixes #237
2017-12-21 11:29:21 +05:30
Kovid Goyal
51ac78f74d
X11: Set the WINDOWID environment variable
...
Fixes #232
2017-12-16 08:57:52 +05:30
Kovid Goyal
d12063daad
Add configurable shortcuts to go to a tab by number
...
Fixes #208
2017-12-02 16:31:40 +05:30
Kovid Goyal
ccc67b66c4
Add more options to customize the tab-bar
...
Fixes #203
2017-12-01 12:16:17 +05:30
Kovid Goyal
5a5d27077c
Shortcut to open new OSWindow
...
Note that rendering is still pretty buggy with multiple windows.
2017-12-01 12:15:34 +05:30
Kovid Goyal
e1b77f0a59
Ensure cleanup when closing OSWindow
2017-12-01 12:15:34 +05:30
Kovid Goyal
95aad91a49
...
2017-12-01 12:15:33 +05:30
Kovid Goyal
f8c7a7a690
more bug fixes
2017-12-01 12:15:33 +05:30
Kovid Goyal
9cedefb50c
Port tab_manager and miscellaneous cleanups
2017-12-01 12:15:33 +05:30
Kovid Goyal
96f8f8c79d
Remove unused code
2017-12-01 12:15:33 +05:30
Kovid Goyal
82d17c8a59
DRYer
2017-12-01 12:15:32 +05:30
Kovid Goyal
598f08e222
Avoid unneccessary roundtrip through python to create VAOs
2017-12-01 12:15:32 +05:30
Kovid Goyal
2f06c0f721
Remove last view uses of viewport_size and cell_size in python
...
Also move counters into C
2017-12-01 12:15:32 +05:30
Kovid Goyal
0ec793e8bc
Finish porting of borders and layout
2017-12-01 12:15:32 +05:30
Kovid Goyal
c69145b6bc
Port state.c and all code that calls into it
2017-12-01 12:15:31 +05:30
Kovid Goyal
6cbd1d1727
Move the tabbar destroy logic into the tab bar class
2017-11-01 12:49:00 +05:30
Kovid Goyal
2443d76ac3
Apparently pep8 now just does not let you use the name l
...
This is one of the most hilarious bugs in pep8 I have come across
2017-10-23 17:40:53 +05:30
Kovid Goyal
8b54df31ef
Fix new pep8 ambiguous name warning
2017-10-23 17:33:57 +05:30
Kovid Goyal
42329e5d46
Merge the char_grid and window modules
2017-09-15 10:45:25 +05:30
Kovid Goyal
6d8b59cb61
Track window and application titles in C
...
Allows removing of the last bit fo python from the render loop
2017-09-15 10:45:24 +05:30
Kovid Goyal
e6df82b255
Move the char grid render call into C
2017-09-15 10:45:24 +05:30
Kovid Goyal
943a1575ad
Move render call for tab bar to C code
2017-09-15 10:45:24 +05:30
Kovid Goyal
c1cb4df9d2
Avoid unnecessary use of timers for resize_pty
2017-09-15 10:45:23 +05:30
Kovid Goyal
44f456089b
Migrate the cell program
2017-09-15 10:45:22 +05:30
Kovid Goyal
2fff6e1cb9
Directly rende r borders instead of going through the active tab
2017-09-15 10:45:22 +05:30
Kovid Goyal
084f31292b
...
2017-09-15 10:45:21 +05:30
Kovid Goyal
2a24199c90
Migrate the borders program
2017-09-15 10:45:21 +05:30
Kovid Goyal
5ceec08d32
Use buffer mapping for the tabbar selbuf
2017-09-15 10:45:18 +05:30
Kovid Goyal
b8acb9b133
Pass cell data to GPU directly
...
Converts update_cell_range() to a simple memcpy(). The GPU has to do
roughly the same amount of work (there is one extra attribute, and one
extra calculation for reverse video).
2017-09-15 10:45:16 +05:30
Kovid Goyal
51231b7eb2
Migrate tabs to also use the new buffer mapping API
2017-09-15 10:45:16 +05:30
Kovid Goyal
f655112bda
Directly copy the sprite positions into the GPU buffer
2017-09-15 10:45:15 +05:30
Kovid Goyal
fe7f3233ba
Fix initial tab bar visibility when starting a session with multiple tabs
2017-09-15 10:45:14 +05:30
Kovid Goyal
d5d812ccfe
Fix for session with empty enabled_layouts
2017-09-15 10:45:13 +05:30