m4xshen / hardtime.nvim

Establish good command workflow and quit bad habit
MIT License
1.35k stars 27 forks source link

Mouse is not re-enabled when entering buffer with buftype terminal #72

Open cattokomo opened 8 months ago

cattokomo commented 8 months ago

Describe the bug hardtime.nvim does not toggled off when entering buffer with buftype terminal, such as entering :term.

Config options None.

To Reproduce Steps to reproduce the behavior:

  1. Open Neovim and have hardtime.nvim enabled.
  2. Open buftype=terminal buffer, such as :term.
  3. Trying to exit out of Terminal mode by clicking mouse.
  4. Stuck.

Expected behavior hardtime.nvim are toggled off when entering buffer with buftype terminal.

Screenshots None.

Additional context None.