26 lines
701 B
Python
26 lines
701 B
Python
#!/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Fenrir TTY screen reader
|
|
# By Chrys, Storm Dragon, and contributers.
|
|
|
|
from core import debug
|
|
|
|
class command():
|
|
def __init__(self):
|
|
pass
|
|
def initialize(self, environment):
|
|
pass
|
|
def shutdown(self, environment):
|
|
pass
|
|
def getDescription(self, environment):
|
|
return 'removes marks from selected text'
|
|
|
|
def run(self, environment):
|
|
environment['commandBuffer']['Marks']['1'] = None
|
|
environment['commandBuffer']['Marks']['2'] = None
|
|
environment['runtime']['outputManager'].presentText(environment, 'Remove marks', interrupt=True)
|
|
|
|
def setCallback(self, callback):
|
|
pass
|