Metadata-Version: 2.4
Name: CConsole
Version: 1.0.0
Summary: Cool Console Prompt - Windows console customization library
Author: Xylera
License: MIT
Project-URL: Homepage, https://github.com/Xylera/CConsole
Project-URL: Repository, https://github.com/Xylera/CConsole
Keywords: console,terminal,windows,vt100,ansi,customization
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: System :: Console Fonts
Classifier: Topic :: Terminals
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file
Dynamic: requires-python

# CConsole (Cool Console Prompt)

A Windows console customization library for Python. Enable VT100 sequences, customize cursor, disable mouse interaction, lock resize, hide scrollbars, and apply blur effects.

## Installation

```bash
pip install CConsole
```

Or install from source:
```bash
pip install -e .
```

## Quick Start

```python
from CConsole import Console

console = Console()
console.init()
```

## Usage

### Basic Initialization

```python
from CConsole import Console

console = Console()
console.init()
```

### Method Chaining for Features

```python
from CConsole import Console

console = Console()
console.init().enable_vt().set_thin_cursor().disable_mouse_interaction().lock_console_resize().hide_console_scrollbar()
```

### Individual Feature Control

```python
console = Console()
console.init()
console.enable_vt()
console.set_thin_cursor()
console.enable_blur_behind()
console.set_title("My App")
```

### Available Methods

| Method | Description |
|--------|-------------|
| `init()` | Initialize console handles |
| `enable_vt()` | Enable VT100 terminal processing |
| `disable_vt()` | Disable VT100 terminal processing |
| `set_thin_cursor(size, visible)` | Set thin cursor |
| `set_block_cursor()` | Set block cursor |
| `hide_cursor()` | Hide cursor |
| `show_cursor()` | Show cursor |
| `disable_mouse_interaction()` | Disable mouse input |
| `enable_mouse_interaction()` | Enable mouse input |
| `lock_console_resize()` | Lock window resize |
| `unlock_console_resize()` | Unlock window resize |
| `hide_console_scrollbar()` | Hide scrollbar |
| `enable_blur_behind(gradient_color)` | Enable blur effect |
| `disable_blur_behind()` | Disable blur effect |
| `set_title(title)` | Set console title |
| `clear()` | Clear console |
| `reset()` | Reset console to defaults |
| `set_size(width, height)` | Set buffer size |
| `move_cursor(x, y)` | Move cursor position |
| `get_hwnd()` | Get window handle |
| `get_output_handle()` | Get output handle |
| `get_input_handle()` | Get input handle |

### Examples

**Custom blur effect:**
```python
from CConsole import Console

console = Console()
console.init(blur_behind=False)
console.enable_blur_behind(gradient_color=0x80000000)
```

**Reset everything:**
```python
console.reset()
```

**Access raw structures:**
```python
from CConsole import COORD, CONSOLE_SCREEN_BUFFER_INFO
```

## Requirements

- Windows OS
- Python >= 3.7

## License

MIT
