Skip to content

Cursor style is changed after exit #9243

Closed

Description

@alimkoca

Describe the bug

The cursor type changes from block to line, and I have a doubtful thought about the graphics library that's used in nushell.

How to reproduce

  1. Run nushell in bash
  2. Exit from nushell

Expected behavior

I didn't expect to see the cursor as line cursor.

Screenshots

This is the tab where nushell is executed and exited:

Bildschirmfoto vom 2023-05-19 21-16-11

This is another tab where nushell isn't executed:

Bildschirmfoto vom 2023-05-19 21-16-32

Configuration

key value
version 0.80.1
branch main
commit_hash ca275f5
build_os linux-x86_64
build_target x86_64-unknown-linux-gnu
rust_version rustc 1.67.1 (d5a82bbd2 2023-02-07)
rust_channel 1.67.1-x86_64-unknown-linux-gnu
cargo_version cargo 1.67.1 (8ecd4f20a 2023-01-10)
build_time 2023-05-19 20:41:31 +03:00
build_rust_channel debug
features default, zip
installed_plugins

Additional context

No response

Activity

  1. added
    status:needs-triage
    on May 19, 2023
  2. wickles commented on May 24, 2023

    @wickles

    I have the same problem when exiting nushell on iTerm2 (macos).

  3. nibon7 commented on May 26, 2023

    @nibon7
    Contributor

    I think you can set cursor_shape.emacs to block in $HOME/.config/config.nu

    emacs: line # block, underscore, line, blink_block, blink_underscore, blink_line (line is the default)

  4. alimkoca commented on May 28, 2023

    @alimkoca
    Author

    Alright, thanks. But something that requires a specific configuration seems annoying a bit.

  5. added a commit that references this issue on May 30, 2023
    560c2e6
  6. added this to the v0.81.0 milestone on May 31, 2023
  7. added a commit that references this issue on Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions