Safekipedia

Cursor (user interface)

Adventurer · ages 7–10Adapted from Wikipedia
A row of computer mouse cursors, each showing a different shape for tasks like selecting text, resizing windows, moving items, or showing that the computer is busy.

In human–computer interaction, a cursor is a marker that shows where you are on a computer monitor or other display device.

A blinking text cursor while typing the word Wikipedia

A cursor is special because it responds to what you do. It is ready to act when a person tells the computer what to do.

Two common examples are the text cursor and the mouse pointer.

Etymology

Cursor is Latin for 'runner'. A cursor was the name for a clear slide with a thin line. It was used to mark a point on a slide rule. The word was later used for computers because of this comparison.

Cursor on a slide rule

According to Roger Bates, a young hardware designer at ARC, the on-screen cursor was also called CAT at the time, for a reason nobody knows. This is why the new pointing device was also called a mouse.

Text cursor

Further information: Caret navigation

See also: Text field

The cursor for the Windows Command Prompt (appearing as an underscore at the end of the line)

In most command-line interfaces and text editors, the text cursor is shown as a line (_), a solid block (█), or a vertical bar (|). It can flash or stay still. It shows where new text will appear. The text cursor is also called a caret. On old text mode screens, a vertical bar could not be shown between letters, so an underscore or block was used instead. Blocks were often made by swapping the colours of a character, using a Boolean math exclusive or function. On modern text editors and word processors with bitmapped screens, a vertical bar is usually used. In most text editing applications, you can move the cursor with the four cursor keys. You can also use the Page Up and Page Down keys, the Home key, the End key, and combinations with a modifier key, such as the Control key. Clicking somewhere else in the document with the mouse also moves it. The cursor usually stops blinking while it moves, so it is easier to follow. The idea of a blinking cursor is credited to Charles Kiesling Sr. in US Patent 3531796, filed in August 1967.

Some interfaces use a line or thin bar for insert mode, where text is inserted into the middle of existing text. They use a larger block for overtype mode, where new text replaces old text. On systems that support bi-directional text, the cursor is a vertical line with a small arrow pointing left or right. The arrow shows which direction the text flows. Programmers usually call this a "bidi cursor." Sometimes this cursor splits into two parts. Each part shows where left-to-right or right-to-left text would be inserted.

Pointer

The common pointer roles for a pointer set

In computing, a pointer or mouse pointer is a small picture on the computer monitor or other display device. It copies the movements of a pointing device, such as a mouse, touchpad, or stylus pen. It shows the spot where the user's actions will happen. People can use it in text-based or graphical user interfaces to select and move items. It can also move the keyboard cursor. The mouse pointer is different from the text cursor, but it is also called a cursor, mouse cursor, or just a mouse. It usually looks like an angled arrow, but it can look different in different programs and operating systems. Some devices, like the five-way key on many mobile phones, do not use a pointer. They use a clear focus instead.

Common pointer types (enlarged)

The pointer changes shape to show what can happen. Text that can be selected or edited shows an I-beam, which is also called an I-cursor. Graphics applications show tools like brushes or paint buckets. At the edge of a window, a double arrow shows that the window can be resized. When a computer is busy, a wait pointer appears. This might be an hourglass, a spinning ring in Windows Vista, a watch in classic Mac OS, or a spinning pinwheel in macOS. When the pointer moves over a hyperlink, it becomes a hand. A tooltip may also show information about the link. Pointer trails leave a snake-like trail behind the pointer. They have been available in every version of Microsoft Windows since Windows 3.1x. Trails help people with poor vision and screens where it is hard to see the pointer. Animated pointers were introduced with Windows NT. They show a small looping animation to signal that the computer is busy. However, they also created a security vulnerability.

3D cursor

An example of the 3D cursor within Blender (center)

A cursor can also work as a marker in a 3D modeling program. It shows the place where new things can be added or changed, such as turning an object. Blender, for example, uses a 3D cursor to decide where actions will happen in the 3D viewport. One example is placing meshes.

Quiz time!

4 questions about Cursor (user interface)

Question 1 of 4

What is a cursor?

Pictures

An image showing how a computer mouse pointer can leave a trail of fading copies behind it as it moves.

Keep exploring

This article is a child-friendly adaptation of the Wikipedia article on Cursor (user interface), available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.