This commit is contained in:
@@ -11,13 +11,13 @@ def test_termtitle_changes_actual_title():
|
||||
# Generate title
|
||||
test_title = f"TEST_{time.time()}"
|
||||
|
||||
# Change terminal titre
|
||||
# Change terminal title
|
||||
termtitle(test_title)
|
||||
time.sleep(0.5) #
|
||||
time.sleep(0.5)
|
||||
|
||||
# Capture actual terminal title with xprop
|
||||
result = subprocess.run(
|
||||
["xprop", "-id", os.environ["WINDOWID"],
|
||||
["xprop", "-id", os.environ["WINDOWID"]],
|
||||
capture_output=True,
|
||||
text=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user