Commit graph

882 commits

Author SHA1 Message Date
a
fbeb3f18d4 Advanced String Literals 2020-10-04 18:47:12 +03:00
a
02be19096e Advanced String Literals 2020-10-04 18:39:51 +03:00
Anthony Scopatz
7b1b5d2874
Merge pull request #3793 from cafehaine/master
Change the behavior of NO_COLOR, add RESET
2020-09-30 13:30:38 -07:00
Noortheen Raja
9b68407d79 docs: add api-docs for ptk_shell.updator module 2020-09-30 13:11:50 +05:30
Anthony Scopatz
6b0a81a2e8
Merge pull request #3758 from jnoortheen/feat-threaded-prompt
feat: use threads to offload prompt sections
2020-09-29 17:45:31 -07:00
Anthony Scopatz
40e3f496e3
Update formatter.rst 2020-09-29 17:30:25 -07:00
Noortheen Raja
3c2f9b5a38 feat: use threads to offload prompt sections
resolves #2803

- update1: handle optional prompts correctly
- update2: split PromptFormatter._format_prompt
- update3: get number of workers from env
- update4: now it supports setting async prompt after initing the
session
- update5: keep track of futures<->token index to avoice looping over
all token items

refactor: cache thread results between calls

if there is not much update between calls, then it will not glitch

also applied code review suggestions

refactor: clean old running features

refactor: async-prompt handle clearing futures from container

refactor: add more docstrings and apply review changes

docs: add doc hook

refactor: change %s to string concat

docs: update title in formatter api doc

feat: style cached result as faded

refactor: update shell functions after osc_ascii PR merged

refactor: split code into updator.py to handle async updates
2020-09-27 21:53:53 +05:30
cafehaine
1c7e841da0 Remove reference to NO_COLOR in docs 2020-09-26 15:11:43 +02:00
a
b618e1ffb3 Bash to xonsh 2020-09-25 10:27:14 +03:00
a
56b1dda6df Bash to xonsh 2020-09-25 10:20:04 +03:00
a
40a95a65ac Bash to xonsh 2020-09-25 10:14:23 +03:00
a
9eef76fcad bash2xonsh 2020-09-25 03:31:30 +03:00
a
1f67c7c80d bash2xonsh 2020-09-25 03:24:03 +03:00
a
2c7f09a29b bash2xonsh 2020-09-25 03:14:12 +03:00
a
32b3688057 bash2xonsh 2020-09-25 03:13:43 +03:00
a
6c3f2a5865 bash2xonsh 2020-09-25 03:11:50 +03:00
a
c7b36f2019 bash2xonsh 2020-09-25 03:04:40 +03:00
a
5d9c64d853 bash2xonsh 2020-09-25 02:57:41 +03:00
a
12cda5f148 bash2xonsh 2020-09-25 02:50:22 +03:00
a
48e16455b8 new 2020-09-25 00:16:49 +03:00
a
033c8c6009 new 2020-09-25 00:15:55 +03:00
a
30bfe190c2 new 2020-09-24 23:42:39 +03:00
a
588b1b7b52 docs 2020-09-24 23:39:36 +03:00
Anthony Scopatz
1c5d41897b
Merge pull request #3765 from bobhy/xonfig-kernel
Move jup kernel spec from setup to xonfig; add doc.
2020-09-23 09:25:25 -07:00
Bob Hyman
f07d016995 Merge branch 'master' into xonfig-kernel 2020-09-23 04:41:31 -04:00
anki-code
28ab18699d
Update contents.rst 2020-09-23 09:11:54 +03:00
Anthony Scopatz
089fb90b0b
Merge pull request #3785 from Eadaen/history_testing-ead
Commands to easily manage deletion of history from the current session.
2020-09-22 09:10:04 -07:00
Bob Hyman
2f3a7a4e72 Merge branch 'master' into xonfig-kernel 2020-09-17 02:57:19 -04:00
Eadaen1
49bc38e4d4 Add docs. 2020-09-17 02:15:52 +01:00
Bob Hyman
0d120f7052 correct spelling of xonfig optoin, it's jupyter-kernel 2020-09-16 19:03:43 -04:00
Anthony Scopatz
99ee3b6509
Merge pull request #3760 from dannysepler/shortcuts
Docs for keyboard shortcuts
2020-09-15 17:28:16 -07:00
Danny Sepler
eb4c183a48 Use instance of ConsoleLexer, news item 2020-09-15 20:17:21 -04:00
Bob Hyman
27b304d99a Change xonfig option name 'kernel' to 'jupyter_kernel' 2020-09-14 23:02:45 -04:00
Bob Hyman
bed0011673 Move jup kernel spec from setup to xonfig; add doc. 2020-09-13 15:37:44 -04:00
Danny Sepler
f0d941009b Docs for keyboard shortcuts 2020-09-12 14:17:32 -04:00
Anthony Scopatz
d42b41407d
Merge pull request #3750 from anki-code/patch-1
Update appimage.rst
2020-09-11 19:42:53 -07:00
Eadaen1
50257a563e Update tutorial with cwd_dir changes. 2020-09-11 12:14:04 +01:00
anki-code
ccc8358eea
Fixed grammar 2020-09-11 11:05:17 +03:00
anki-code
b7d7397988
Update appimage.rst 2020-09-11 03:34:14 +03:00
David Strobach
3f56956984 Update docs 2020-09-05 17:35:23 +02:00
Bob Hyman
6f549ca6c3 Doc updates per review 2020-09-01 20:35:10 -04:00
Bob Hyman
92ee51a81e Merge branch 'master' into is_3622 2020-09-01 18:27:18 -04:00
David Strobach
7e2fed244c Fix video playbach on xon.sh landing page
This fixes browsers complaining about "Refused to display
'https://www.youtube.com/watch?v=uaje5I22kgE&feature=youtu.be'
in a frame because it set 'X-Frame-Options' to 'sameorigin'."
We need to expand the shortened youtu.be link ourselves in order
to be able to play it within an iframe.
2020-08-31 13:41:46 +02:00
Bob Hyman
eb2b8f5791 Config rewrite; move platform guides into tips and tricks 2020-08-29 13:34:52 -04:00
Bob Hyman
f034d3dc06 Merge branch 'master' into is_3622 2020-08-28 23:15:03 -04:00
willsALMANJ
fe347ef258
Fix typo on index.html 2020-08-28 11:27:41 -04:00
Anthony Scopatz
f048b295d6 black updates to tests and docs 2020-08-26 10:10:59 -05:00
Bob Hyman
3cd269a701 Merge branch 'master' into is_3622 2020-08-24 20:47:59 -04:00
Bob Hyman
f1d703d096 Merge branch 'master' into is_3622 2020-08-24 05:28:34 -04:00
Bob Hyman
59bb6b3b88 More getting started reorg 2020-08-24 04:46:25 -04:00