Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8711217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:49:11+00:00 2026-06-13T04:49:11+00:00

Holding the option key and clicking in terminal lets me position the cursor with

  • 0

Holding the option key and clicking in terminal lets me position the cursor with the mouse.

I’d like to be able to do the same thing when I’m running mysql in terminal, but it doesn’t work. Is there some kind of setting or escape character that will allow me to use the option click method? Or is there another way to click to position the cursor?

I typically write a long command in mysql with an accidental error, then I hit the up arrow to get that command again, so I can edit it and fix the error. It would be nice if I can use the mouse to click at the spot where the error is, instead of using the left/right arrow key to move the cursor.

For example:

mysql>
CREATE TABLE test_table (col1 INT, blah blah, col3 INT);

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blah, col3 int)' at line 1

After seeing that error, I’d like to hit up to get the command in the prompt again, and then just click at the word ‘blah’ to start editing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:49:12+00:00Added an answer on June 13, 2026 at 4:49 am

    alt+click works to position the cursor.

    As @zneak points out in the comments above, it does so by simulating many arrow key inputs.

    So, when I tried to position the cursor a few lines up in a multi line command, it would replace the current command with previous commands as if I pressed the up arrow key. So now, if I need to move the cursor one line up, I just alt click to the beginning of the line and press the left arrow key to get to the previous line.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a data frame holding information on options like this > chData myIdx
I'm looking for a key/value store in python that would be suitable for holding
According to ADC documentation: You can access Open Firmware this by holding down Command-Option-O-F
Is there a way to move window with a mouse after clicking on window
I am considering using ultrasound (inaudible) as an option for determining the relative position
I have text in a mysql database which is correctly holding the Euro symbol.
Im holding an iterator that points to an element of a vector, and I
Consider a queue holding a lot of jobs that need processing. Limitation of queue
i use pointer for holding name and research lab property. But when i print
I have a variable holding values separated by a comma (Implode), and I'm trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.