---
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 |