feat: 120 FPS

This commit is contained in:
Loric ANDRE 2026-01-14 18:33:38 +01:00
parent 7e962392cd
commit 3dc64cfb90
3 changed files with 9 additions and 6 deletions

View file

@ -7,7 +7,6 @@ documentation = "https://docs.rs/skim"
homepage = "https://github.com/skim-rs/skim"
repository = "https://github.com/skim-rs/skim"
readme = "README.md"
changelog = "CHANGELOG.md"
keywords = ["fuzzy", "menu", "util"]
license = "MIT"
edition = "2024"

View file

@ -1,16 +1,20 @@
bump-version version:
sed -i 's/^version = ".*"/version = "{{ version }}"/' ./Cargo.toml
generate-files:
cargo run -- --man > ./man/man1/sk.1
cargo run -- --shell bash > ./shell/completion.bash
cargo run -- --shell zsh > ./shell/completion.zsh
cargo run -- --shell fish > ./shell/completion.fish
release version:
sed -i 's/^version = ".*"/version = "{{ version }}"/' ./Cargo.toml
cargo generate-lockfile
changelog:
git cliff -o CHANGELOG.md
just generate-files
release version: (bump-version version) generate-files changelog
cargo generate-lockfile
git add CHANGELOG.md Cargo.lock Cargo.toml man/ shell/
git commit -m 'release: v{{ version }}'
git tag 'v{{ version }}'
read -p "Press any key to confirm pushing tag v{{ version }}"
git push
git push --tags

View file

@ -23,7 +23,7 @@ use tokio_util::sync::CancellationToken;
use super::{Event, Size};
const TICK_RATE: f64 = 12.;
const FRAME_RATE: f64 = 12.;
const FRAME_RATE: f64 = 120.;
static PANIC_HOOK_SET: Once = Once::new();
/// Terminal user interface handler for skim