File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export default {
3434 ] ,
3535 options :{
3636 setTitlesString : " " ,
37- prefix : 'C-c '
37+ prefix : 'C-a '
3838 } ,
3939 status : {
4040 left : < StatusLeft /> ,
Original file line number Diff line number Diff line change 1+ let log = (content ) => {
2+ let debugMode = Bun .Env .get (Bun .env , "BETTER_TMUX_DEBUG" )
3+ switch debugMode {
4+ | Some ("1" ) => Console .log2 ("[🔎 BetterTmux] Executing Command: " , content )
5+ | Some (_ )
6+ | None => ()
7+ }
8+ }
Original file line number Diff line number Diff line change @@ -56,4 +56,8 @@ let parse = command =>
5656 | Bind (key , command , options ) => ` tmux bind ${key} ${command} ${options-> Array.join(" " )}`
5757 }
5858
59- let exec = command => command -> parse -> ChildProcess .execSync -> ignore
59+ let exec = command => {
60+ let parsedCommand = command -> parse
61+ Debug .log (parsedCommand )
62+ parsedCommand -> ChildProcess .execSync -> ignore
63+ }
You can’t perform that action at this time.
0 commit comments