Hi.

I've been having a slight issue that I haven't sorted out yet: I mostly use git from the VTE (for some reasons that are not relevant to the issue). Mouse wheel scrolling doesn't seem to work with git commands when run from the VTE, i.e. the window is scrolled instead of the text. What I expect is the text to scroll with the wheel, as if I had pressed the UP or DOWN cursor keys.

I'm using this command as the shell for the VTE: /bin/bash --rcfile ~/.vterc

File .vterc is a custom script I wrote to load a minimalist configuration for bash.

Now here's what I've noticed after investigating:

So the issue seems to be a combination between Geany AND the VTE AND Bash AND Git. I don't know where to lookup next. Do you have any hint?

P.S. : I'm running Manjaro Linux and Geany 2.0 (built 2023-10-23)

Here's my custom startup RC file (aka ~/.vterc):

# This file is sourced by Geany terminal (VTE). Only a subset of the
# full profile is loaded.

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# Run a selection of common profile scripts
. /etc/profile.d/aliases.sh
. /etc/profile.d/gcc-colors.sh
. /etc/profile.d/histrc.sh

# Include this profile's aliases
[ -f "$HOME/.sh_aliases" ] && . $HOME/.sh_aliases

# To be run only under bash
if test "$BASH"; then
	# Enable colourful terminal windows
	. /etc/profile.d/prompt.sh

	# Enable GIT completion
	. /usr/share/bash-completion/completions/git

	# Redirect history when running in Geany's terminal. Also avoid the
	# ominous message "expect trouble" about screen resolution...
	if ps --no-headers -p $PPID -o comm 2>/dev/null | grep -q geany; then
		HISTIGNORE="$HISTIGNORE:*geany_run_script*"
		HISTFILE="$HOME/.cache/geany/history"
		return
	fi
fi


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/repo-discussions/4053@github.com>