Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

215
Views
How to keep track of a position in xterm js

I'm trying to write something to the terminal and later delete it. So I need to keep track of the first character's cursor position. But since there may be scrolling inbetween, I need to account for viewport shifts and maybe even buffer shifts.

So far I sent \u001B[6n to get the cursor viewport position. Is there a way to get the buffer position or get events when the viewport of buffer change?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!