mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-12-18 12:54:51 +00:00
12 lines
259 B
Bash
12 lines
259 B
Bash
# we want "fixed" dimensions no matter the size of real display
|
|
set_screen_dimensions_helper() {
|
|
stty cols 200
|
|
stty rows 50
|
|
}
|
|
|
|
last_save_file_differs_helper() {
|
|
local original_file="$1"
|
|
diff "$original_file" "${HOME}/.tmux/resurrect/last"
|
|
[ $? -ne 0 ]
|
|
}
|