| 1 |
#!/usr/bin/env python3 |
| 2 |
# -*- coding: utf-8 -*- |
| 3 |
|
| 4 |
# Fenrir TTY screen reader |
| 5 |
# By Chrys, Storm Dragon, and contributors. |
| 6 |
|
| 7 |
import datetime |
| 8 |
|
| 9 |
from fenrirscreenreader.core.i18n import _ |
| 10 |
|
| 11 |
|
| 12 |
class command: |
| 13 |
def __init__(self): |
| 14 |
pass |
| 15 |
|
| 16 |
def initialize(self, environment): |
| 17 |
self.env = environment |
| 18 |
|
| 19 |
def shutdown(self): |
| 20 |
pass |
| 21 |
|
| 22 |
def get_description(self): |
| 23 |
return _("Test vim search functionality") |
| 24 |
|
| 25 |
def run(self): |
| 26 |
# Test command for vim search operations |
| 27 |
test_message = _("Vim search test: This demonstrates search functionality") |
| 28 |
|
| 29 |
# present the test message |
| 30 |
self.env["runtime"]["OutputManager"].present_text( |
| 31 |
test_message, sound_icon="", interrupt=True |
| 32 |
) |
| 33 |
|
| 34 |
def set_callback(self, callback): |
| 35 |
pass |