Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Space bar does not work #2348

Open
berkus opened this issue Aug 24, 2024 · 14 comments
Open

Space bar does not work #2348

berkus opened this issue Aug 24, 2024 · 14 comments

Comments

@berkus
Copy link

berkus commented Aug 24, 2024

far2l 2.6.3 on macOS (installed via homebrew)

I've added the following macro to key_macros.ini:

[KeyMacros/Shell/Space]
DisableOutput=0x1
EmptyCommandLine=0x1
NoSendKeysToPlugins=0x1
Sequence=Ins

Space stopped working in Shell completely, regardless of the command line contents.

I've removed the macro and restarted far but the space bar still not working.

@unxed
Copy link
Contributor

unxed commented Aug 24, 2024

Please check once again if macro is still in place. If you had several instances of far2l open, some of them could written key_macros.ini back on close.

@berkus
Copy link
Author

berkus commented Aug 24, 2024

I've checked from the terminal and it's definitely disabled:

❯ cat ~/.config/far2l/settings/key_macros.ini
   1 [KeyMacros/Common/CtrlShiftT]
   2 DisableOutput=0x1
   3 Sequence=Ins
   4
   5 ;[KeyMacros/Shell/Space]
   6 ;DisableOutput=0x1
   7 ;EmptyCommandLine=0x1
   8 ;NoFilePanels=0x0
   9 ;NoSendKeysToPlugins=0x1
  10 ;Sequence=Ins
  11
  12 [KeyMacros/Shell/CtrlShiftX]
  13 Sequence=Space

@berkus
Copy link
Author

berkus commented Aug 24, 2024

As you can see I now use a Ctrl-Shift-X macro to insert Space :D

@unxed
Copy link
Contributor

unxed commented Aug 24, 2024

Are you sure ; is accepted as comment mark by far2l? I am not

@berkus
Copy link
Author

berkus commented Aug 24, 2024

It is INI file, ; is a comment in ini file.

I tried removing the entire section out, but to the same effect.

@unxed
Copy link
Contributor

unxed commented Aug 24, 2024

try this:

  1. close all far2l instances
  2. rename ~/.config/far2l to something else
  3. remove ~/.cache/far2l completely
  4. start far2l
  5. press space

this will help us to verify if it is some kind of settings problem or something else

@berkus
Copy link
Author

berkus commented Aug 26, 2024

I've tried slightly different approach:

  1. I took a different machine, completely clean,
  2. Installed far2l,
  3. started it,
  4. Space bar does NOT work by default at all.

@unxed
Copy link
Contributor

unxed commented Aug 26, 2024

Can you please publish far2l screen shot including window title

@berkus
Copy link
Author

berkus commented Aug 26, 2024

image

@berkus berkus changed the title Space bar does not work anymore Space bar does not work Aug 26, 2024
@akruphi
Copy link
Contributor

akruphi commented Aug 26, 2024

May be screenshot of far:about will be more informative?

@berkus
Copy link
Author

berkus commented Aug 27, 2024

May be screenshot of far:about will be more informative?

How to get there? The macOS menu does not have about item (it has no items at all), and the About FAR tab within the FAR help menu has no version info at all.

@shmuz
Copy link
Contributor

shmuz commented Aug 27, 2024

How to get there?

On the far2l command line type far:about and press Enter.
The menu containing various information should appear.

@dodo-16
Copy link

dodo-16 commented Aug 27, 2024

You can run it with logging enabled, it'll show smth. like:

08:26:10 PM: Debug: Unrecognised keycode 364
08:26:10 PM: Debug: Unrecognised keycode 365
ConsoleInput::Enqueue: # 0 28 100 DOWN
OnChar: raw=7d code=13d uni=0 ( ) ts=371538599 lke=1
OnKeyUp: raw=7d code=13d uni=0 ( ) ts=371538695
ConsoleInput::Enqueue: # 0 28 100 UP
OnKeyDown: raw=7e code=13b uni=0 ( ) ts=371538975 [now=371538977]
08:26:10 PM: Debug: Unrecognised keycode 364
08:26:10 PM: Debug: Unrecognised keycode 365

_

@berkus
Copy link
Author

berkus commented Aug 27, 2024

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants