notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 099f8b02622eb2be467c41579ae55db5c546cf54
parent 1d22963394b6915207aef18f0bc1434476c1ce40
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 27 Jan 2026 07:13:33 -0800

dave: use Delete key only for agent deletion, not Backspace

Prevents accidental agent deletion when pressing backspace while typing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Diffstat:
Mcrates/notedeck_dave/src/ui/scene.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crates/notedeck_dave/src/ui/scene.rs b/crates/notedeck_dave/src/ui/scene.rs @@ -264,7 +264,7 @@ impl AgentScene { // Handle keyboard input (only when no text input has focus) // Note: N key for spawning agents is handled globally in keybindings.rs if !ui.ctx().wants_keyboard_input() - && ui.input(|i| i.key_pressed(egui::Key::Delete) || i.key_pressed(egui::Key::Backspace)) + && ui.input(|i| i.key_pressed(egui::Key::Delete)) && !self.selected.is_empty() { response = SceneResponse::new(SceneAction::DeleteSelected);