squirrel icon indicating copy to clipboard operation
squirrel copied to clipboard

prevent commit keystroke being hijacked

Open groverlynn opened this issue 2 years ago • 9 comments

By adding a placeholder before direct (panel-less) commits, keystroke hijacking is prevented. resolves #741

  • Settings: Add panelless_commit_fix: true under app_options/org.alacritty

This pull also resolves similar issues (backspace being hijacked in the address bar of chrome): resolves #435 #450 #514 etc.

  • Settings: Add inline_placeholder: true under app_options/com.google.Chrome and app_options/com.operasoftware.Opera

Furthermore, non-inline mode now works perfectly fine in terminal without even the need to have a space as placeholder (and this is the case for most apps except for a small handful e.g. chrome)

groverlynn avatar Aug 05 '23 09:08 groverlynn

inline_offset 是新加的嗎?爲什麼 x y 用同一個值?

lotem avatar Feb 08 '24 17:02 lotem

我準備給 Squirrel 構建成功再合併這項修改。

lotem avatar Feb 08 '24 17:02 lotem

inline_offset 是新加的嗎?爲什麼 x y 用同一個值?

Alacritty 更新一次就出一種新的bug。這次的bug就是輸入光標的位置錯位一整行,系統的capslock提示框直接覆蓋光標……想來想去只能加這麼一個選項來修正

groverlynn avatar Feb 15 '24 05:02 groverlynn

#435 , #450 , #514 在最新的 Chrome (124) 已不成問題,只是爲針對 Alacritty 去「反向劫持」client,我覺得不可行,很可能導致別的 app 按鍵衝突。 除了 Alacritty 還有別的 app 需要這樣處理嗎?沒有的話就算了吧

LEOYoon-Tsaw avatar May 28 '24 21:05 LEOYoon-Tsaw

这个问题在neovide中也存在,我发现这种问题普遍存在与rust构建的应用程序中,但wezterm例外

kola-web avatar May 29 '24 01:05 kola-web