Broken project to implement a cross-protocol browser in textual
browset: Set cursor position on page load
Zach DeCook 2023-01-26
parent 66c8127 · commit 45cd631
-rwxr-xr-xbrowset.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/browset.py b/browset.py
index ad4bc13..bf76aa3 100755
--- a/browset.py
+++ b/browset.py
@@ -85,6 +85,7 @@ class Browset(App):
if setbar:
input = self.query_one("#url")
input.value = url
+ input.action_end()
if histore:
self.history.append(self.url)
self.url = url