Location of prompt gets weird after window change
@danielsomerfield is already working on this.
Since Dec 1, 2023.
- Dominant language
- Rust
- Stars
- 40.5k
- Forks
- 2.3k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 85
Description
Describe the bug
This occurs while starting a terminal with nushell in swaywm, then changing the windows, e.g. moving the terminal window from the bottom to the right, Location of the prompt jumps to the y-axis position of the terminal's cursor relative to the screen before the window movement after one keystroke.
Maybe sophisticated to describe, later shown in a video.
Tested with and without enabling starship.
wm: sway 1.8.1
os: NixOS 23.11.20230527.e108023
tested terminal:
- alacritty 0.12.1
- foot 1.14.0
bash zsh fish all've no this issue in my environment.
How to reproduce
shows in the video below.

The prompt jumps into the bottom after one keystroke.
Expected behavior
Works as other shells.
Screenshots
No response
Configuration
| key | value |
|---|---|
| version | 0.80.0 |
| branch | |
| commit_hash | |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.69.0 (84c898d65 2023-04-16) (built from a source tarball) |
| cargo_version | cargo 1.69.0 |
| build_time | 1980-01-01 00:00:00 +00:00 |
| build_rust_channel | release |
| features | default, zip |
| installed_plugins |
Additional context
nushell configuration:
https://github.com/oluceps/nixos-config/blob/main/home/programs/nu/config.nu
https://github.com/oluceps/nixos-config/blob/main/home/programs/nu/env.nu
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.