spike
80205349b5
set a custom timeout before executing send-keys for commands
...
In some situations send-keys might fire before the shell prompt
finished initilization. It happened for me when using fish shell and
*oh-my-fish* which makes the send-keys start executing bofore my shell
is ready and I endup with a written command that is not executed
This patch adds a custom `sendkeys_timeout` as a top level option that
takes an integer in milliseconds. It will ensure a Sleep call is made
before.
2 years ago
Ivan
1f039b175e
fix: Fix creating manual windows
2 years ago
Ivan
35425aa081
refactor: Rebalance panes after each 2nd split
2 years ago
Ivan
abc059242d
refactor: Code cleanup & improvements
...
* fix: Fprintf -> Fprint
* fix: Golinter fixes
* refactor: Use pointer semantics for config
2 years ago
Ivan Klymenchenko
f6060cc6b4
refactor: Refactor options.go
2 years ago
Ivan
3399f02a6e
Attach windows to current session with different name ( #78 )
2 years ago
Ivan
5045599de6
Add new flag `-i` that allows to create new windows inside current session
2 years ago
Ivan
6b6960cb24
Allow to set env variables per session ( #69 )
3 years ago
Ivan
6a55cc9603
Add option that allows to rebalance panes ( #59 )
3 years ago
Ivan
75e77dd325
Add --detach flag ( #56 )
3 years ago
Pim Snel
d3f5d57af4
Use tmux session name in print command( #52 )
3 years ago
Ivan
74fe70077d
Allow user to dump current tmux session ( #45 )
3 years ago
Ivan
bf1e50906e
Select layout after panes initialization ( #40 )
3 years ago
Ivan
251b6c3f7a
Allow passing empty string to window name ( #38 )
...
* Allow passing an empty string to the window name
3 years ago
Ivan
b6da3e95da
Use last pane id for splitting windows ( #35 )
...
* Use last pane id for splitting windows
3 years ago
Ivan
c07add3bef
[WIP] Bugfix/split layout is not working correctly ( #33 )
...
* [bugfix] fix options order in split-layout command
3 years ago
Jordan Grant
48d6526b0e
[bugfix] reference pane by id instead of index ( #29 )
3 years ago
Ivan
40106e141d
Create a default window, and then kill it, instead of using ( #23 )
...
* Create a default window, and then kill it, instead of using
3 years ago
Ivan
fb9a652eef
Increase test coverage ( #19 )
...
* Increase test coverage for smug.go
* Add context struct
* Test commander_test.go
* Test commander_test.go
3 years ago
Ivan
2a6aec6ce7
Fix creating windows ( #17 )
...
* Add --debug flag
* Fix creating windows
3 years ago
Ivan
f9b4217af3
Allow creating sessions without nesting ( #16 )
...
* Allow creating sessions without nesting
* New `--attach` flag allows you to switch a client when you're inside tmux session
* If the session already exists, Smug won't throw an error. Instead, it will attach you to an existing session
3 years ago
Adam Tucker
9528b927cf
Attach to first window from list-windows. ( #13 )
3 years ago
Ivan
cfbd86c1c0
#8 Always kill first window from list-windows command ( #9 )
3 years ago
Ivan
880c448a05
Add support for `layout` in windows ( #7 )
3 years ago
Ivan Klymenchenko
fd5dbedf12
Support passing windows to the stop command
3 years ago
Ivan Klymenchenko
0bb5fdc72e
Add more checks for return values from methods
3 years ago
Ivan Klymenchenko
6695015ad0
Init
3 years ago
Ivan Klymenchenko
73c8669d80
Init
3 years ago