aboutsummaryrefslogtreecommitdiffstats
path: root/idatui/app.py
diff options
context:
space:
mode:
authorblasty <blasty@local>2026-08-07 20:04:12 +0200
committerblasty <blasty@local>2026-08-07 20:04:12 +0200
commit8012e9a8bc2426f0bee99e703364d56707ded8bc (patch)
tree5ea29fe7def518b910bb558f83eb016f0992f40e /idatui/app.py
parentdemo: tighten the pacing (43s of pauses -> 19s) (diff)
downloadida-tui-8012e9a8bc2426f0bee99e703364d56707ded8bc.tar.gz
ida-tui-8012e9a8bc2426f0bee99e703364d56707ded8bc.tar.xz
ida-tui-8012e9a8bc2426f0bee99e703364d56707ded8bc.zip
Syntax-highlight the struct editor's C definitions
Diffstat (limited to 'idatui/app.py')
-rw-r--r--idatui/app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/idatui/app.py b/idatui/app.py
index a4b03a1..c331904 100644
--- a/idatui/app.py
+++ b/idatui/app.py
@@ -50,7 +50,7 @@ from . import kittygfx
from .edit_ctl import EditController
from .prompt import PromptBar
from .trace_ctl import TraceController
-from .highlight import highlight_c
+from .highlight import CTextArea, highlight_c
from .errors import IDAToolError, IDAConnectionError
from .codemode_client import CodeModeClient, registered_database
@@ -4314,7 +4314,7 @@ class StructEditor(ModalScreen):
yield OptionList(id="se-list")
with Vertical(id="se-right"):
yield Static(" C definition", id="se-hint")
- yield TextArea("", id="se-edit")
+ yield CTextArea("", id="se-edit")
yield Static(
"Enter edit · Ctrl+S save · Ctrl+Y copy · Ctrl+N new · d/Del delete · Esc close",
id="se-status")