wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
16.76k stars 751 forks source link

On Windows 11 History not working #5525

Open StandardNerd opened 3 months ago

StandardNerd commented 3 months ago

What Operating System(s) are you seeing this problem on?

Windows

Which Wayland compositor or X11 Window manager(s) are you using?

On Linux Wezterm's history by using arrow key "up" is working fine. But on Windows 11 the history is not working:

  1. Start Wezterm
  2. press arrow key "up"
  3. nothing happens

Expected behaviour:

the last command should appear.

WezTerm version

20240203-110809-5046fc22

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

On Linux Wezterm's history by using arrow key "up" is working fine. But on Windows 11 the history is not working for past session. Only for the current session. If I close Wezterm and start it again, the history is cleared. How to make the history persistent so that it's available in tomorrow's session (default behaviour on most terminals like Git Bash even on Windows)?

To Reproduce

  1. Start Wezterm
  2. press arrow key "up"
  3. nothing happens

Configuration

nothing special, just some configurations for fonts.

Expected Behavior

the last command should appear.

Logs

No response

Anything else?

No response

HeyItsGilbert commented 4 days ago

Which shell are you using? cmd won't do this. It barely does anything. You may want to set your default config.default_prog to PowerShell.