Comments (5)
@SBTCVM/core-devs any ideas?
from sbtcvm-mark-2.
ill take a look, is the issue in the current branch?
from sbtcvm-mark-2.
@wyatthuckaby yup. perhaps the size() method of pygame font objects might be of use? to determine the size of the characters. see pygame docs: (http://www.pygame.org/docs/ref/font.html#pygame.font.Font.size) the new calculator (calc.py) is the first utility to use it. (and its handy character mask feature) also, MK2-TOOLS.py has a test for it via the "textinput" argument.
from sbtcvm-mark-2.
i should also point out that the cursor is an actual vertical bar/space that is inserted into the a copy of the current string that is used for rendering. this will affect the position of characters a bit.
from sbtcvm-mark-2.
Fixing this in the desktop shell builtin should not be much more work, given that the code actually functions the same way as libvmui.textinput() just with slightly modified event parsing, and a different rendering scenario...
from sbtcvm-mark-2.
Related Issues (12)
- regset operation assembly keywords goto refrence bug (fixed) HOT 2
- The VM currently does not have any ways of accessing helpview. HOT 2
- What are some ways we can improve SBTCVM for the v2.0.3 release? HOT 3
- Addons. creating a coherent way of having additional utilities. (before we wind up with a mess) HOT 1
- What kinds of utilities & functionality Should we include with SBTCVM's desktop? HOT 3
- Failure to start with Python 3.6.3 HOT 5
- My program crashed the VM HOT 4
- offsetlen queries HOT 1
- redesigning intro.tasm HOT 2
- help view: word wrap not right HOT 4
- calculator: right-clicking res>A doesn't work before the first result
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 sbtcvm-mark-2.