Comments (1)
The cause may be the process of reading from Cliffy's standard output.
The buffer size for reading a character is 8 bytes, and when reading a character that exceeds this size, it seems that the character is split in the middle of one character.
const buffer = new Uint8Array(8);
~~~~
const nread: number | null = await Deno.stdin.read(buffer);
Proposals:
As a countermeasure, we propose to clone Deno-cliffy and use its modified version.
We have the following two suggestions for modification.
- Keep buffer size large enough.
There is no standard for how much increase is sufficient, so this is only a palliative measure
- Modify code to work even when split in the middle of a character.
The conversion process to keycode using parse implemented in keycode/key_code.ts of deno-cliffy exists in between. The degree of difficulty of modification is considered to be quite high.
from dim.
Related Issues (20)
- Add support for deno 1.30.0
- Add converted file path to dim-lock.json
- Support for auto-generate post-process using Chat-GPT
- Change models of GPT using cli option or environment variable HOT 3
- バージョンがアップデートされていない HOT 1
- catalogResourceId/Url is removed by `dim update`
- error of open api request is not shown as the error message HOT 4
- want to have CONTRIBUTING.md HOT 1
- Forbidden characters are not specified in the -n option when executing the install command.
- Cannot target files after conversion when multiple postProcesses are specified.
- Message when install -f is specified other than local dim.json
- Necessity of -A option for update when name is specified
- Deno update is preventing "Check type" from passing.
- Python library to simplify the interaction with dim HOT 5
- Add "XLS to CSV" converter to preprocess HOT 1
- post-processing を2つ以上指定することはできますか? HOT 2
- Add integrity in dim-lock.json HOT 1
- Specify a filename when installing data
- Support specifying path for dim.json and dim-lock.json, data_files
- Support to get search results in json format
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 dim.