This commit is contained in:
1 parent
2f82270ca0
commit
5c13920e5a
1 file changed
+3
-3
@@ -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