Home Explore Blog CI



nushell

1st chunk of `commands/docs/commandline_set-cursor.md`
f08c7da6f2d5d201c07d4327fc1395a814ea58cc8556f4ac00000001000002e7
---
title: commandline set-cursor
categories: |
  core
version: 0.104.0
core: |
  Set the current cursor position.
usage: |
  Set the current cursor position.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->

# `commandline set-cursor` for [core](/commands/categories/core.md)

<div class='command-title'>Set the current cursor position.</div>

## Signature

```> commandline set-cursor {flags} (pos)```

## Flags

 -  `--end, -e`: set the current cursor position to the end of the buffer

## Parameters

 -  `pos`: Cursor position to be set.


## Input/output types:

| input   | output  |
| ------- | ------- |
| nothing | nothing |

Title: commandline set-cursor
Summary
This document describes the `commandline set-cursor` command in Nushell, which allows users to set the cursor position within the command line buffer. It includes details on the command's signature, available flags (specifically `--end` to set the cursor to the end of the buffer), and the required `pos` parameter to specify the desired cursor position.