Coder Social home page Coder Social logo

mouse_xterm's People

Contributors

tinmarino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mouse_xterm's Issues

Fix READLINE blinking with bind -x

See in code why it happens and find a trick (like double buffering or cheaty redirection) to prevent user command line to disapear and appear again (alias flinkering)

Thank you and reporting some minor issues

Hi! Thank you for this awesome solution and for sharing it! Isn't it weird that so important and old tool like linux terminal stays so inconvenient in 2021? Its history stems from teletypes as physical devices, which didn't have cursor, obviously, but it is not an excuse imho.

Anyway, thanks for your efforts. The code works well if sourcing mouse.sh within an already running session, but when I saved the lines in .bashrc and rebooted, I got a creepy message:

image

It doesn't seem to affect anything, but that's not something one would wish to see at startup...

Another issue: the terminal cursor lands 18 characters to the right of the mouse cursor.
On the screenshot the latter is not visible, but it is located exactly after ~$

image

__bp_interactive_modemouse_track_echo_enable: command not found

Thanks so much for your script. I would love to get it to work as I would like to be able to click to move the cursor in Gnome Terminal running bash (ie. the default terminal and shell on Linux Mint).

I tried to use your script following the README.md ie. I did:
eval "$(curl -X GET https://raw.githubusercontent.com/tinmarino/mouse_xterm/master/mouse.sh)" && mouse_track_start

However, I got the error:
__bp_interactive_modemouse_track_echo_enable: command not found

I also get that error when I do:
printf '\e[?1000;1006;1015h'

About for my terminal says:

GNOME Terminal
3.36.2 
A terminal emulator for the GNOME desktop
Using VTE version 0.60.3 +BIDI +GNUTLS +ICU +SYSTEMD

Bash version is:
GNU bash, version 5.0.17(1)-release-(x86_64-pc-linux-gnu)

Syntax error: operand expected

On Ubuntu 18.04 I get the following error within a Terminator terminal:

bash:  y0=<0 : y0=<0 : syntax error: operand expected (error token is "<0 ")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.