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
While I'm aware that there is a "correct" shortcut to exit the program, that being the Q key, it's difficult to break the muscle memory of using Ctrl+C to exit a program. For this reason I believe that this issue should be addressed.
Here is an image illustrating the issue:
Before running:
After exiting with Ctrl+C:
After exiting with Q:
I am using Wezterm in the above screenshots, although I would assume that this issue happens across most terminals.
The text was updated successfully, but these errors were encountered:
This was initially added (by turning off ISIG) but removed later cause you want to be able to terminate fex if it's taking too long.
For example: if you if you press E (expand all folders) and then G (jump to the bottom), when say pwd is /, fex will take some time to reach the bottom.
If Ctrl-C is handled by fex for a clean exit, it won't do anything in the duration that it takes to reach the bottom.
This has to do with fex being single threaded. Rendering and input handling are done in the same thread (unlike say fzf).
Handling Ctrl-C cleanly and responsively requires input handling to be on a separate thread. This is something that I want to do, but don't know when I'll get to.
A way to get around Ctrl-C causing cursor disappearance is to use reset
While I'm aware that there is a "correct" shortcut to exit the program, that being the Q key, it's difficult to break the muscle memory of using Ctrl+C to exit a program. For this reason I believe that this issue should be addressed.
Here is an image illustrating the issue:
![image](https://private-user-images.githubusercontent.com/48618519/383141736-5a834c4b-057a-43da-ac8c-c384d272d237.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzkxNzMsIm5iZiI6MTczOTAzODg3MywicGF0aCI6Ii80ODYxODUxOS8zODMxNDE3MzYtNWE4MzRjNGItMDU3YS00M2RhLWFjOGMtYzM4NGQyNzJkMjM3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE4MjExM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMxOTVkMDhmYTNlMjVkODI1NzY1ZWE1MDRjN2JhYWE4OTU2MjRjMWUxZGViNGIwMjdhNjlhMzdhZjQzMWZlOTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Gt7SahrXWqR1MVOoU46Tr0jDe28OWlG6DjBhi6w4QoU)
![image](https://private-user-images.githubusercontent.com/48618519/383141974-a5e53d96-7f20-4164-ae6e-cd01cc20cc25.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzkxNzMsIm5iZiI6MTczOTAzODg3MywicGF0aCI6Ii80ODYxODUxOS8zODMxNDE5NzQtYTVlNTNkOTYtN2YyMC00MTY0LWFlNmUtY2QwMWNjMjBjYzI1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE4MjExM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgwNjk0YjhkNjY3ZmIzNDZiZjEwNWM5MjgwMzlkZTRkNTM0YjA3NTMyYTE2OGNmMjYyMzU5YmY3ZDQ0YmUyMTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.640PI3BvFZ87SGt7qgTTKJYbWSCzZPE87YV2s_OB8zo)
![image](https://private-user-images.githubusercontent.com/48618519/383142136-579ccdd0-a857-451f-8502-3ac667619001.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzkxNzMsIm5iZiI6MTczOTAzODg3MywicGF0aCI6Ii80ODYxODUxOS8zODMxNDIxMzYtNTc5Y2NkZDAtYTg1Ny00NTFmLTg1MDItM2FjNjY3NjE5MDAxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE4MjExM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY1OGU5YWJjMTM2MzI1ZjAzNmUwZjk1MzExODU3YTg0ZjRiOGYzMzliZmE5MTVmMGQ5MWVmZTE4ZGZkNjRiODEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HMpQ_rnFzK_3lKJYHrLadHne3ilT9SlX8_zGryTT0gk)
Before running:
After exiting with Ctrl+C:
After exiting with Q:
I am using Wezterm in the above screenshots, although I would assume that this issue happens across most terminals.
The text was updated successfully, but these errors were encountered: