kamiyaa / joshuto

ranger-like terminal file manager written in Rust
https://crates.io/crates/joshuto
GNU Lesser General Public License v3.0
3.37k stars 148 forks source link

feat: wezterm cwd compatibility #439

Closed kennycallado closed 9 months ago

kennycallado commented 10 months ago

This PR makes joshuto compatible with wezterm at least with the way it manages the current directory updates.

  1. Added a new cwd utility module.
  2. Centralized CWD updates using the cwd::set_current_dir function.
  3. Updated to use the cwd utility for CWD management.
  4. Implements OSC 7: Escape sequences to inform the terminal about the current directory ref.
kamiyaa commented 9 months ago

Looks good