| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
supports them (that is, if it advertises itself as a VT420 - probably
just xterm). These are the vertical equivalent of the scroll region and
allow much faster scrolling of panes that do not take up the full width
of the terminal.
|
| |
|
| |
|
| |
|
|
|
|
| |
problem reported by Frank Terbeck.
|
|
|
|
| |
Sergei Dyshel.
|
|
|
|
| |
problem reported by Nelo-T Wallus.
|
|
|
|
|
| |
Unicode characters fit in 24 bits, so we can leave key_code as 64 bits
and change KEYC_BASE down to 0x10000000.
|
|
|
|
| |
created (which now is now a fatal() later).
|
|
|
|
| |
reported by Tommy Allen.
|
| |
|
|
|
|
| |
by jasper@.
|
|
|
|
|
| |
for the prompts in copy mode. Fixes problems with jumping to ' reported
by Theo Buehler.
|
|
|
|
| |
with the default prefix. Reported by natano@.
|
|
|
|
|
|
| |
add a link of winlinks to each window and a pointer to the session to
each winlink. Also rewrite the alerts processing to return to the old
behaviour (alert in any window sets the flag on any winlink).
|
|
|
|
| |
sessions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
existing hooks to use notifys instead.
|
|
|
|
|
| |
affected session or window when a hook fires. Enable session-created and
session-closed hooks now that that is available.
|
|
|
|
|
| |
that the user can get at additional information - now used for the
"hook" format, more to come.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
but there is also now a global command queue. Instead of command queues
being dispatched on demand from wherever the command happens to be
added, they are now all dispatched from the top level server
loop. Command queues may now also include callbacks as well as commands,
and items may be inserted after the current command as well as at the end.
This all makes command queues significantly more predictable and easier
to use, and avoids the complex multiple nested command queues used by
source-file, if-shell and friends.
A mass rename of struct cmdq to a better name (cmdq_item probably) is
coming.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
the complicated ones get no hooks for now (more to come).
|
|
|
|
| |
from the end of every command queue (which could be nested).
|
|
|
|
| |
handling.
|
|
|
|
|
| |
using a wrong TERM without xenl is not so broken if used on a sensible
terminal.
|
|
|
|
|
|
|
| |
which could potentially free the currently running command, so we need
to take a reference to it in cmdq_continue_one.
Fixes problem reported by Theo Buehler.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
confusing, particularly trying to automatically figure out what target
hooks should be using. So simplify it:
- drop before hooks entirely, they don't seem to be very useful;
- commands with special requirements now fire their own after hook (for
example, if they change session or window, or if they have -t and -s
and need to choose which one the hook uses as current target);
- commands with no special requirements can have the CMD_AFTERHOOK flag
added and they will use the -t state.
At the moment new-session, new-window, split-window fire their own hook,
and display-message uses the flag. The remaining commands still need to
be looked at.
|
|
|
|
| |
be done with hooks instead.
|
|
|
|
|
|
|
|
|
|
|
|
| |
sequences (notable EL and ED but also IL, DL, ICH, DCH) create blank
cells using the current background colour rather than the default
colour.
On modern systems BCE doesn't really have many benefits, but most other
terminals now support it, some (lazy) applications rely on it, and it is
not hard to include now that we have pane background colours anyway.
Mostly written by Sean Haugh.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Prepare the state again before the "after" hooks are run, because the
command may have killed or moved windows.
- Use the hooks list from the newly prepared target, not the old hooks
list (only matters for new-session really).
- Correctly detect an invalid current state and ignore it in
cmd_find_target ("killw; swapw").
- Change neww, new, killp, killw, splitw, swapp, swapw to update the
current state (used if no explicit target is given) to something more
useful after they have finished. For example, neww changes it to the
newly created window.
Hooks are still relatively new and primitive so there are likely to be
more changes to come.
Parts based on bug reports from Uwe Werler and Iblis Lin.
|
| |
|
|
|
|
| |
do not draw if pane is not visible.
|
|
|
|
|
| |
modify the screen, not after; and use grid_view_insert_cells to make
space not grid_move_cells.
|
| |
|
|
|
|
| |
command prompt.
|