Comments (2)
If this helps, I extracted a list of the important drawing calls to try to trace what was going on in editText()
. But I ran out of steam.
editText():
v = vd.editline(vd.activeSheet._scr, y, x, w, display=display, **kwargs)
editline():
disp_help = HelpCycler(scr, '')
while True:
disp_help.draw()
vd.drawInputHelp(scr, '')
curhelp = vd.getHelpPane('input', module='visidata')
sheet.drawSidebarText(scr, curhelp, title='Input Keystrokes Help')
sidebarscr = vd.subwindow(scr, x, y, w, h) #(call this the A subwindow)
text.draw(sidebarscr) #(is actually curhelp.draw(sidebarscr) which is HelpPane.draw())
#has lots of calls to:
HelpPane.draw(vs.subwindow(scr))
#which makes a new B subwindow in the A subwindow:
vd.subwindow(scr of the new subwindow)
# and calls erase(), refresh() on its parent the A subwindow
from visidata.
Another related effect: some input prompts, like go-col-regex
or go-col-number
leads visidata's CPU usage to go up from 0% to a nonstop 20-30%. Surprisingly, search-col
does not.
To reproduce: vd -N sample_data/sample.tsv
, then go-col-regex
and don't enter any characters.
This behavior started with the same commit, b859610.
That commit is dated Jan 14 so it's not the cause of #2243, which was reported Jan 9.
from visidata.
Related Issues (20)
- Fixed width saver and loader don't round trip. (Columns expand with increasing number of spaces) HOT 6
- vdsql: Don't know how to connect to .ddb (DuckDB) HOT 4
- [] a custom command `diff from previous column` HOT 5
- website has dead links for man pages/quick docs HOT 1
- vd command does not work/exist for Windows HOT 1
- save as csv actually saves tsv when file existing file extension is CSV, i.e. uppercase - PR available #2269 HOT 1
- [fixed] split columns based on header
- [undo] can't undo some threaded commands HOT 1
- visidata silently fails under Windows with Python 3.12 (3.11 fine) HOT 2
- Summarizing column (describe-sheet) is much slower (+300%) with typed date column HOT 6
- [tsv] add CLI option to use NUL as delimiter HOT 8
- visidata.desktop doesn't pass validation HOT 2
- addcol-window should pad first list with None to indicate no rows above first row
- Avoid Status Spam/Visual Noise HOT 4
- Pypy Crashes HOT 1
- More helpful saving and format options HOT 5
- `show-command-info` bugs
- [cmdlog] sheets created with no keypresses show errors HOT 3
- [stored] automatically save input history by default HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from visidata.