jquery-terminal

TypeScript after 3.1 don't accept callback functions argument types

与世无争的帅哥 提交于 2021-01-07 02:51:15
问题 I have this issue with jQuery Terminal. I have quite big d.ts file but it don't work properly I've tried to update dependencies and everything broke. From some time I was not able to update TypeScript because got this type of errors (version after 3.1) ./node_modules/.bin/tsc --noEmit --project tsconfig.json test.ts:18:31 - error TS7006: Parameter 'command' implicitly has an 'any' type. 18 $('.term').terminal([function(command, term) { even that callback function have types defined. I've

TypeScript after 3.1 don't accept callback functions argument types

微笑、不失礼 提交于 2021-01-07 02:50:50
问题 I have this issue with jQuery Terminal. I have quite big d.ts file but it don't work properly I've tried to update dependencies and everything broke. From some time I was not able to update TypeScript because got this type of errors (version after 3.1) ./node_modules/.bin/tsc --noEmit --project tsconfig.json test.ts:18:31 - error TS7006: Parameter 'command' implicitly has an 'any' type. 18 $('.term').terminal([function(command, term) { even that callback function have types defined. I've

Enable/Disable Android virtual keyboard with dummy textarea

一个人想着一个人 提交于 2019-12-11 06:46:47
问题 I want to have virtual keyboard for jquery terminal, here is my test code: http://terminal.jcubic.pl/android.html the plugin code is here: http://terminal.jcubic.pl/js/jquery.terminal-src.js (uncommitted) For a moment it was working but it stopped, even then I run focus and blur on textarea the keyboard don't show up. The cursor is not in textarea. The focus/blur work when I run the page on desktop Chromium. Anybody know why textarea don't have focus? Sometimes the cursor is inside but the

How do I force jquery terminal to remain the same size?

感情迁移 提交于 2019-12-11 03:27:37
问题 I am using Jquery terminal and it seems pretty cool. I've been looking around for several hours now, and I can't find a way to get the console to remain stationary when text is inputted. Instead, the console increases in size for every line of input that I enter. Does anyone know how to keep a constant size for the terminal, is it a setting I missed or something? I want something like this. 回答1: Add a height option: JS $('#terminal').terminal(function (command, term) { if (command == 'test')