Initial table mode added. Probably bugs.
This commit is contained in:
@ -55,6 +55,17 @@ class ScreenManager:
|
||||
|
||||
def get_screen_text(self):
|
||||
return self.currScreenText
|
||||
|
||||
def get_line_text(self, line_number):
|
||||
"""Get text from a specific line (0-based index)"""
|
||||
if not self.env["screen"]["new_content_text"]:
|
||||
return ""
|
||||
|
||||
lines = self.env["screen"]["new_content_text"].split("\n")
|
||||
if line_number < 0 or line_number >= len(lines):
|
||||
return ""
|
||||
|
||||
return lines[line_number]
|
||||
|
||||
def get_curr_screen(self):
|
||||
try:
|
||||
|
Reference in New Issue
Block a user