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

Enter on vim replace mode leaves character highlighted #337

Open
mozirilla213 opened this issue Jun 24, 2023 · 1 comment
Open

Enter on vim replace mode leaves character highlighted #337

mozirilla213 opened this issue Jun 24, 2023 · 1 comment

Comments

@mozirilla213
Copy link

GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu) [Arch Linux]
ble.sh, version 0.4.0-devel4+0906fd95 (noarch) [git 2.40.1, GNU Make 4.4.1, GNU Awk 5.2.2, API 3.2, PMA Avon 8-g1, (GNU MPFR 4.2.0-p9, GNU MP 6.2.1)]
bash-completion, version 2.11 (hash:2d02f73e803daa87a06e94e33b2a7b3e672a2c0c, 76338 bytes) (noarch)
locale: LANG=C
terminal: TERM=xterm-256color wcwidth=15.0-west/13.0-2+ri, konsole:220380 (1;115;0)

To reproduce:

  • Type a command: command
  • Enter vim replace mode
  • Run the command pressing enter or C-j

The highlighting of current character under cursor doesn't reset to how it should look in insert mode; unlike when running a command in normal mode.

@mozirilla213 mozirilla213 changed the title Enter of vim replace mode leaves character highlighted Enter on vim replace mode leaves character highlighted Jun 24, 2023
@akinomyoga
Copy link
Owner

akinomyoga commented Jun 29, 2023

This was just not implemented. The color is just implemented as a part of the syntax highlighting, so I haven't thought about disabling it before running the command. I just implemented it in commit 1afc616.

@mozirilla213 Could you update ble.sh by running the command ble-update and check the behavior of the latest version?

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

2 participants