You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to enter GPG password in the terminal (with the pinentry program) results in graphical errors (text pasting in the wrong place) in Zellij and inability to enter my GPG key secret. This ultimately ends in zellij behaving incorrectly/me needing to close it in order to regain proper control.
Issue description
I have GPG-signing enabled for git, so when I do a git commit I need to enter my password/GPG secret key in the pinentry program. This opens up a password prompt in the terminal which normally hides the password characters from view. When trying to run this in Zellij I am unable to enter my password at all - the text does not enter in the password prompt area in the terminal and characters appear unhidden.
Here's a couple of screenshots that run through the issue:
Before running git commit command which will prompt me to enter my GPG password:
The GPG password prompt popping up:
Graphical issues and inability to enter my password:
Minimal reproduction
Enable GPG signing in git and try to commit a code change causing the GPG password prompt to pop up
Other relevant information
Because this is...sort of a grapical issue I included some graphical info as well:
Terminal emulator: I can reproduce this in both Alacritty and Terminal.app
zellij --version: zellij 0.40.1
stty size: 22 x 90 (but reproducible at any size I tried)
uname -av or ver(Windows): Darwin QCM262HV7N 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64
Logs
Logs
INFO |zellij_client | 2024-06-13 09:27:49.211 [main ] [zellij-client/src/lib.rs:178]: Starting Zellij client!
INFO |zellij_server | 2024-06-13 09:27:49.226 [main ] [zellij-server/src/lib.rs:284]: Starting Zellij server!
INFO |zellij_server | 2024-06-13 09:27:49.283 [main ] [zellij-server/src/lib.rs:1068]: Compiling plugins using Cranelift
INFO |zellij_server::plugins | 2024-06-13 09:27:49.283 [wasm ] [zellij-server/src/plugins/mod.rs:203]: Wasm main thread starts
WARN |zellij_utils::input::layo| 2024-06-13 09:27:49.284 [wasm ] [zellij-utils/src/input/layout.rs:105]: Overriding plugin alias
WARN |zellij_utils::input::layo| 2024-06-13 09:27:49.284 [wasm ] [zellij-utils/src/input/layout.rs:105]: Overriding plugin alias
INFO |zellij_server::plugins::p| 2024-06-13 09:27:49.291 [async-std/runti] [zellij-server/src/plugins/plugin_loader.rs:533]: Loaded plugin 'tab-bar' from cache folder at '/Users/dchambers/Library/Caches/org.Zellij-Contributors.Zellij' in 2.413959ms
INFO |zellij_server | 2024-06-13 09:27:49.291 [async-std/runti] [zellij-server/src/lib.rs:1068]: Compiling plugins using Cranelift
INFO |zellij_server::plugins::p| 2024-06-13 09:27:49.294 [async-std/runti] [zellij-server/src/plugins/plugin_loader.rs:533]: Loaded plugin 'status-bar' from cache folder at '/Users/dchambers/Library/Caches/org.Zellij-Contributors.Zellij' in 5.251292ms
INFO |zellij_server | 2024-06-13 09:27:49.294 [async-std/runti] [zellij-server/src/lib.rs:1068]: Compiling plugins using Cranelift
INFO |zellij_client | 2024-06-13 09:30:04.378 [main ] [zellij-client/src/lib.rs:533]: Bye from Zellij!
INFO |zellij_server::plugins | 2024-06-13 09:30:04.378 [wasm ] [zellij-server/src/plugins/mod.rs:745]: wasm main thread exits
ERROR |zellij_server::os_input_o| 2024-06-13 09:30:04.379 [screen ] [zellij-server/src/os_input_output.rs:915]: Failed to apply cached resizes: failed to send message to pty writer
ERROR |zellij_server::os_input_o| 2024-06-13 09:30:04.379 [screen ] [zellij-server/src/os_input_output.rs:904]: Failed to cache resizes: failed to send message to pty writer
ERROR |zellij_server::os_input_o| 2024-06-13 09:30:04.379 [screen ] [zellij-server/src/os_input_output.rs:915]: Failed to apply cached resizes: failed to send message to pty writer
INFO |zellij_server::plugins::w| 2024-06-13 09:30:04.380 [wasm ] [zellij-server/src/plugins/wasm_bridge.rs:287]: Bye from plugin 0
INFO |zellij_server::plugins::w| 2024-06-13 09:30:04.381 [wasm ] [zellij-server/src/plugins/wasm_bridge.rs:287]: Bye from plugin 1
Attempting to enter GPG password in the terminal (with the
pinentry
program) results in graphical errors (text pasting in the wrong place) in Zellij and inability to enter my GPG key secret. This ultimately ends in zellij behaving incorrectly/me needing to close it in order to regain proper control.Issue description
I have GPG-signing enabled for git, so when I do a
git commit
I need to enter my password/GPG secret key in the pinentry program. This opens up a password prompt in the terminal which normally hides the password characters from view. When trying to run this in Zellij I am unable to enter my password at all - the text does not enter in the password prompt area in the terminal and characters appear unhidden.Here's a couple of screenshots that run through the issue:
Before running git commit command which will prompt me to enter my GPG password:
![image](https://private-user-images.githubusercontent.com/3454131/339402965-ff3b3b2d-c6ab-4f76-8d58-f066f2948c0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5ODk0MjcsIm5iZiI6MTcxODk4OTEyNywicGF0aCI6Ii8zNDU0MTMxLzMzOTQwMjk2NS1mZjNiM2IyZC1jNmFiLTRmNzYtOGQ1OC1mMDY2ZjI5NDhjMGYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjFUMTY1ODQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTRhZWMzOTYyMzk3MDMzODcyYzUwZGU3MGI2MzIzNzVjNmI2NzA4OTFlYTNhNDY0YjY2YjZkYWQzZTA1YTkzOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Ov_BE-mcwzu3ZHDUI7RY6jgyMMAQrQvR2Co8RxE6yiY)
The GPG password prompt popping up:
![image](https://private-user-images.githubusercontent.com/3454131/339403045-09531c65-8bfd-474b-96bf-a020c505c005.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5ODk0MjcsIm5iZiI6MTcxODk4OTEyNywicGF0aCI6Ii8zNDU0MTMxLzMzOTQwMzA0NS0wOTUzMWM2NS04YmZkLTQ3NGItOTZiZi1hMDIwYzUwNWMwMDUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjFUMTY1ODQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDUzMTdmODI4MzJhZGM4NGE1YTdiZmZlMWE2N2I5M2JiY2I2OThiY2U2OTViNThkZmZjN2IzOTIyODQ3OTNiOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.X2SXUicktUeh5TQrqk6edh2EgAUx4Ms041Z7c6T4cFo)
Graphical issues and inability to enter my password:
![image](https://private-user-images.githubusercontent.com/3454131/339403159-c49d3240-c5b7-49cb-b5e2-857450aa97bb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5ODk0MjcsIm5iZiI6MTcxODk4OTEyNywicGF0aCI6Ii8zNDU0MTMxLzMzOTQwMzE1OS1jNDlkMzI0MC1jNWI3LTQ5Y2ItYjVlMi04NTc0NTBhYTk3YmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjFUMTY1ODQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTg4ZTUyOWNhYmI4YTg3ZmRmYzllMmY2MGJiNmEyMDkwOTE4OWM3ZjQ4YTI1NjVhNDQzMGE1OWZlMGUwOTk5ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.UPXta7euQV3XoLIRKBKH6TEDawIMjj4ZUCqicFxlQPk)
Minimal reproduction
Enable GPG signing in git and try to commit a code change causing the GPG password prompt to pop up
Other relevant information
Because this is...sort of a grapical issue I included some graphical info as well:
zellij --version
: zellij 0.40.1stty size
: 22 x 90 (but reproducible at any size I tried)uname -av
orver
(Windows): Darwin QCM262HV7N 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64Logs
Logs
The text was updated successfully, but these errors were encountered: