dwmkerr / dwmkerr/shellwright

rfc: force show/hide cursor option

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
37
Forks
5
Avg merge
3d 23h
Merged PRs (30d)
1

Description

## Context

Cursor rendering now respects terminal state automatically via `terminal.modes.showCursor`.

## Potential Enhancement

If users need explicit control to force cursor on/off regardless of terminal state, we could add a parameter:

```typescript
shell_screenshot({ session_id, showCursor?: 'auto' | 'show' | 'hide' })
```

- `auto` (default): respect terminal state
- `show`: always render cursor
- `hide`: never render cursor

## Use Cases

- Force show cursor in TUI apps that hide it
- Force hide cursor in shell sessions for cleaner screenshots

Please comment if you have a use case for this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.