Commit Graph

38 Commits

Author SHA1 Message Date
59debe7f04 console : add getTermHeight getTermWidth methods
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5829 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-10 03:08:09 +00:00
3c0988e250 domci
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5594 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-15 14:41:30 +00:00
467a47563b console : if the suggested value is empty, do not use it but propose it as solution
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5584 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-15 11:26:46 +00:00
171edf4c11 console : do not add unneeded spaces
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5574 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-03 19:17:58 +00:00
3b5b0bf894 console : if there were multiple suggestions, rewrite the line
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5573 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-03 19:13:22 +00:00
244c45e2a7 console : without suggestion, $start was incorrect (missing ending space)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5571 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-03 18:58:40 +00:00
09c1a31d24 console : shortestIdenticalValues must use the keys if associated entries are provided
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5569 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-03 09:55:43 +00:00
bf88a97476 console : sort the propositions when multiple entries are available
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5568 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-03 09:51:02 +00:00
ceeafcb476 console : tokenizer is static public
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5566 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-01 19:08:02 +00:00
6559355d54 console : rewrite the call analyzis to simplify it. Pass a split part of the string to the method
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5565 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-01 18:40:42 +00:00
abdbd245a2 console : do not try to set the color instead of removing the bold font
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5562 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-09-30 21:42:22 +00:00
834fd3f48c console : the tokenizer remove the \n that the line can provide
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5550 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-09-27 15:35:15 +00:00
0bd11eeda6 console : manage the history without error (bug introduced with the time of each command stored)
console : add a tokenize method to get the user data from line


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5547 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-09-27 13:07:55 +00:00
429caff347 console : Add color support
console : Add bold and underline text support


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4277 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-08 18:23:48 +00:00
4674706687 console : log the history with timestamp
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4276 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-08 12:10:15 +00:00
6afe1b5c52 console : store the history with timestamp
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4275 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-08 12:06:06 +00:00
11435d848e console : manage correctely the tmp value stored when using the history
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4274 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-08 09:06:19 +00:00
f76b7dd76b console : when moving to an old history, keep the position of the cursor if the user come back on the tmp stored entry
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4273 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-08 08:59:12 +00:00
e4ec389955 console : record the ESC SEQUENCE in debug
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4272 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-07 19:15:30 +00:00
8b821dd2fd console : manage correctely the Ctrl+C
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4271 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-07 19:01:13 +00:00
fb361bfaa4 console : manage correctely the bad provided values
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4264 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-06 15:08:18 +00:00
f5e852cc73 console : domci updates
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4251 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-15 12:02:08 +00:00
b8c900720c console : manage the autocompletion : add the identical possibilities to the string
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4247 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-14 09:21:31 +00:00
7cce0f6d1d Add clearScreen to console
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4246 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 18:27:17 +00:00
dacdff19ed console : clear line correctely and call it in the rewriteLine method
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4245 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 14:33:05 +00:00
778b3184b6 console : remove debug in echo
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4244 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 14:26:39 +00:00
46a63f57f9 console : clear line correctely with Ctrl+C
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4243 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 14:26:01 +00:00
d708af89c6 console : remove not needed comments on old tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4242 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 13:47:01 +00:00
57739c624b console : manage the Ctrl+C to clean the line if needed
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4241 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 13:22:49 +00:00
1efb0c395d console : Delete is now working for first char
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4240 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 12:14:30 +00:00
e5e56b66c0 console : allow to set the user proposition when using readline
console : manage correctely the backspace


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4239 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 12:12:54 +00:00
cb93127fa2 console : clear the history lines when using Ctrl+L
console : add a public method to update the window size.


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4238 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 11:13:33 +00:00
a6764f2d8f console : manage correctely the window size
console : Add support to Ctrl+L


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4237 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 10:17:16 +00:00
07e8b0f5c4 console : Add Ctr+D (logout) support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4236 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-12 18:59:44 +00:00
80abee3b12 console : Allow to autocomplete with value+help, or value only
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4235 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-12 18:47:33 +00:00
0f7ef786e8 Manage the historical
Manage the UTF-8 chars
Allow to move cursor with Ctrl+Arrow


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4234 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-12 14:42:14 +00:00
062465ac52 Console : manage the history and the autocompletion
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4233 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-11 19:53:12 +00:00
8baf1bdf54 Add console support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4227 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-08 14:44:13 +00:00