<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rtmux.git/cmd-swap-window.c, branch master</title>
<subtitle>Tmux with Rahm's extra hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/'/>
<entry>
<title>Add args parsing callback for some future work, currently unused.</title>
<updated>2021-08-21T10:22:38+00:00</updated>
<author>
<name>nicm</name>
<email>nicm</email>
</author>
<published>2021-08-21T10:22:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=08e6360f23284c9e2e521cb466002bdd9350a63d'/>
<id>08e6360f23284c9e2e521cb466002bdd9350a63d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make its</title>
<updated>2020-04-13T10:59:58+00:00</updated>
<author>
<name>nicm</name>
<email>nicm</email>
</author>
<published>2020-04-13T10:59:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=04cdd035250b93b728678d515b69690653dced4e'/>
<id>04cdd035250b93b728678d515b69690653dced4e</id>
<content type='text'>
use more clearly defined and preparation for some future work).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
use more clearly defined and preparation for some future work).
</pre>
</div>
</content>
</entry>
<entry>
<title>Make struct cmd local to cmd.c and move it out of tmux.h.</title>
<updated>2020-04-13T08:26:27+00:00</updated>
<author>
<name>nicm</name>
<email>nicm</email>
</author>
<published>2020-04-13T08:26:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=c20eb0c0ae3347c768894a6355adfd7ebae6f2f3'/>
<id>c20eb0c0ae3347c768894a6355adfd7ebae6f2f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix swap-window -d to work as intended, GitHub issue 1879 from Sam Stuewe.</title>
<updated>2019-08-26T16:35:41+00:00</updated>
<author>
<name>nicm</name>
<email>nicm</email>
</author>
<published>2019-08-26T16:35:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=39c55d5b6fcafd9476528ebc1064192c90f559a4'/>
<id>39c55d5b6fcafd9476528ebc1064192c90f559a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change swap-window -d to be the other way round (stay with src window),</title>
<updated>2019-05-09T08:39:09+00:00</updated>
<author>
<name>nicm</name>
<email>nicm</email>
</author>
<published>2019-05-09T08:39:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=3c68e51609d35189e46d9b14c2a489a5ca3de67e'/>
<id>3c68e51609d35189e46d9b14c2a489a5ca3de67e</id>
<content type='text'>
so it works like swap-pane.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
so it works like swap-pane.
</pre>
</div>
</content>
</entry>
<entry>
<title>Get rid of the extra layer of flags and cmd_prepare() and just store the</title>
<updated>2017-04-22T10:22:39+00:00</updated>
<author>
<name>nicm</name>
<email>nicm</email>
</author>
<published>2017-04-22T10:22:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=ee45a8a149e1a3c8fe7c232a9e32f3a007e21bee'/>
<id>ee45a8a149e1a3c8fe7c232a9e32f3a007e21bee</id>
<content type='text'>
CMD_FIND_* flags in the cmd_entry and call it for the command. Commands
with special requirements call it themselves and update the target for
hooks to use.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CMD_FIND_* flags in the cmd_entry and call it for the command. Commands
with special requirements call it themselves and update the target for
hooks to use.
</pre>
</div>
</content>
</entry>
<entry>
<title>Instead of numbering session groups, give them a name which may be given</title>
<updated>2017-02-09T15:04:53+00:00</updated>
<author>
<name>nicm</name>
<email>nicm</email>
</author>
<published>2017-02-09T15:04:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=c6a3446398648fc2cc3682c351b57b9bfe5bc5f0'/>
<id>c6a3446398648fc2cc3682c351b57b9bfe5bc5f0</id>
<content type='text'>
to -t instead of a target session. Also allow them to contain only one
session.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to -t instead of a target session. Also allow them to contain only one
session.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix up winlink lists after swap-window.</title>
<updated>2016-12-14T17:38:59+00:00</updated>
<author>
<name>nicm</name>
<email>nicm</email>
</author>
<published>2016-12-14T17:38:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=e36f932f625e90320ccf58efc7059c7db9a37e9c'/>
<id>e36f932f625e90320ccf58efc7059c7db9a37e9c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Mass rename struct cmd_q to struct cmdq_item and related.</title>
<updated>2016-10-16T19:04:05+00:00</updated>
<author>
<name>nicm</name>
<email>nicm</email>
</author>
<published>2016-10-16T19:04:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=b342bd0b462f69a9fc9a59d52bcd4bb34b57114f'/>
<id>b342bd0b462f69a9fc9a59d52bcd4bb34b57114f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Trying to do hooks generically is way too complicated and unreliable and</title>
<updated>2016-10-13T22:48:51+00:00</updated>
<author>
<name>nicm</name>
<email>nicm</email>
</author>
<published>2016-10-13T22:48:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rtmux.git/commit/?id=4289a1ebfa7479413ec5ac543b88c4ea039d00a0'/>
<id>4289a1ebfa7479413ec5ac543b88c4ea039d00a0</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
