Automatically use -d 0 0 with alacritty

Addresses #38.
performance
noctuid 6 years ago
parent 95d742acc0
commit ffef664678

@ -560,6 +560,10 @@ create_win_return_wid() {
program_start() {
local program_command tmux_command wid
program_command="$program $program_flags"
if [[ $program == alacritty ]]; then
# prevent alacritty from resizing the terminal to 80x24
program_command="$program_command -d 0 0"
fi
if [[ -n "$session_name" ]]; then
session_name=$(printf "%q" "$session_name")
tmux_command="'tmux attach-session -dt $session_name || \

Loading…
Cancel
Save