mirror of
https://github.com/tw93/Mole.git
synced 2026-02-07 02:25:40 +00:00
Fix list scrolling performance
This commit is contained in:
6
mole
6
mole
@@ -559,9 +559,6 @@ interactive_main_menu() {
|
||||
first_draw=false
|
||||
fi
|
||||
|
||||
# Drain any pending input to prevent touchpad scroll issues
|
||||
drain_pending_input
|
||||
|
||||
local key
|
||||
if ! key=$(read_key); then
|
||||
continue
|
||||
@@ -609,6 +606,9 @@ interactive_main_menu() {
|
||||
;;
|
||||
"QUIT") cleanup_and_exit ;;
|
||||
esac
|
||||
|
||||
# Drain any accumulated input after processing (e.g., touchpad scroll events)
|
||||
drain_pending_input
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user