firecat53 / py_curses_editor Goto Github PK
View Code? Open in Web Editor NEWConfigurable curses text editor class
License: MIT License
Configurable curses text editor class
License: MIT License
Need to use some lessons from tabview and figure out how to deal with the asian double-width characters.
Bottom line of the text entry box isn't used.
Has anyone considered maximum line length to single-line-input? I have changed the editor.py script a little and still can not get this to work. Am I making this too much of a script resolution I don't know. I was trying to achieve passing a Max_Line_Length to the editor call but I can not get this to work. Kindly, Scott tried to help but his answer is too complicated for me, and I do not want to bother him. Is there a kind person out there who could give me some basic-knowledge/instruction on how to achieve this? I think it would make a nice enhancement to a fabulous piece of coding, it would certainly make this great for me; stopping the user from keeping on pressing characters unnecessarily. Thank you. PJ
Resizing the help window leaves artifacts on the underlying curses screen when being resized.
Unicode text can be displayed, but not entered.
Add alt-d: delete a word, alt-f: move forward a word, alt-b: move back a word
Currently lines won't wrap to the next line when entering/deleting text. I experimented with this in the past and it was harder than I thought it would be.
Need to switch out the the help text in the title and the popup help when edit mode is false.
Add a flag and a few vim-style keybindings to allow usage as a non-editable pop-up text box.
h,j,k,l
^b and ^f as pg-up pg-down
Different text for a single line entry box ('Enter' will save and exit) vs a multi-line box (Ctrl-x or 'F2' saves).
Also truncate title text if it's too long for the box.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.