NvChad / ui

Lightweight & high performance UI plugin for nvchad
GNU General Public License v3.0
286 stars 130 forks source link

Cursor seems to be in the wrong position in nvterm? #274

Closed Ethanscharlie closed 6 months ago

Ethanscharlie commented 6 months ago

Whenever I use nvterm the cursor (Unless using some application in the terminal like gdb or ranger) Goes to the top after every command but the rest of the terminal doesn't clear so new commands are written over other outputs and new outputs are also being written over old outputs and it ends of being so weird and confusing I have to clear the terminal after almost every command, Is this normal?

image

siduck commented 6 months ago

from nvchad v2.5 nvterm isnt being used. are you talking about the term module ?

Ethanscharlie commented 6 months ago

I don't think so

    "NvChad/nvterm",
    init = function()
      require("core.utils").load_mappings "nvterm"
    end,
    config = function(_, opts)
      require "base46.term"
      require("nvterm").setup(opts)
    end,
  },

Should I just update nvchad then?

Ethanscharlie commented 6 months ago

Btw I had this same exact issue when trying the toggleterm plugin

siduck commented 6 months ago

obv! update to nvchad v2.5

siduck commented 6 months ago

https://nvchad.com/news/v2.5_release

Ethanscharlie commented 6 months ago

Still doesn't work on fresh nvchad 2.5 install with no custom plugins, and yes I did wipe .local/share/nvim

Ethanscharlie commented 6 months ago

It looks like I was able to fix by resetting my .bashrc

Ethanscharlie commented 6 months ago

It was caused by powerline

powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bindings/bash/powerline.sh