From cc47d8788aa798a56fe316c3640732dc25c2179c Mon Sep 17 00:00:00 2001 From: TimonPost Date: Wed, 11 Jul 2018 19:43:12 +0200 Subject: [PATCH] Added docs and Result<> to write methods --- .idea/workspace.xml | 806 +++++++++--------- Cargo.toml | 6 - .../README.md | 7 + .../bin.rs | 8 +- .../program_examples/README.md | 9 +- .../first_depth_search/Cargo.toml | 11 + .../first_depth_search/{ => src}/algorithm.rs | 1 - .../{mod.rs => src/main.rs} | 10 +- .../first_depth_search/{ => src}/map.rs | 0 .../first_depth_search/{ => src}/messages.rs | 0 .../first_depth_search/src/mod.rs | 4 + .../first_depth_search/{ => src}/variables.rs | 0 .../target/.rustc_info.json | 1 + .../target/debug/.cargo-lock | 0 .../dep-lib-crossterm-5f9f68198c107c92 | Bin 0 -> 1080 bytes .../lib-crossterm-5f9f68198c107c92 | 1 + .../lib-crossterm-5f9f68198c107c92.json | 1 + .../dep-lib-crossterm-8f61ecf1c102428d | Bin 0 -> 894 bytes .../lib-crossterm-8f61ecf1c102428d | 1 + .../lib-crossterm-8f61ecf1c102428d.json | 1 + .../bin-first_depth_search-b6f33af2cce3b29f | 1 + ...n-first_depth_search-b6f33af2cce3b29f.json | 1 + ...ep-bin-first_depth_search-b6f33af2cce3b29f | Bin 0 -> 73 bytes .../dep-lib-lazy_static-7b749abda964e14a | Bin 0 -> 23 bytes .../lib-lazy_static-7b749abda964e14a | 1 + .../lib-lazy_static-7b749abda964e14a.json | 1 + .../dep-lib-rand-c278be3f57a6eab5 | Bin 0 -> 364 bytes .../lib-rand-c278be3f57a6eab5 | 1 + .../lib-rand-c278be3f57a6eab5.json | 1 + ...script-build_script_build-40a9ec8ec96fc09e | 1 + ...t-build_script_build-40a9ec8ec96fc09e.json | 1 + ...script-build_script_build-40a9ec8ec96fc09e | Bin 0 -> 9 bytes .../winapi-82ad602439f8f31a/build | 1 + .../winapi-82ad602439f8f31a/build.json | 1 + .../dep-lib-winapi-a7fc1f06729e06bc | Bin 0 -> 752 bytes .../lib-winapi-a7fc1f06729e06bc | 1 + .../lib-winapi-a7fc1f06729e06bc.json | 1 + .../build-script-build.exe | Bin 0 -> 379392 bytes .../build_script_build-40a9ec8ec96fc09e.d | 5 + .../build_script_build-40a9ec8ec96fc09e.exe | Bin 0 -> 379392 bytes .../build_script_build-40a9ec8ec96fc09e.pdb | Bin 0 -> 2142208 bytes .../build/winapi-82ad602439f8f31a/output | 35 + .../build/winapi-82ad602439f8f31a/root-output | 1 + .../build/winapi-82ad602439f8f31a/stderr | 0 .../debug/deps/crossterm-5f9f68198c107c92.d | 45 + .../debug/deps/crossterm-8f61ecf1c102428d.d | 38 + .../first_depth_search-b6f33af2cce3b29f.d | 9 + .../first_depth_search-b6f33af2cce3b29f.exe | Bin 0 -> 515584 bytes .../first_depth_search-b6f33af2cce3b29f.pdb | Bin 0 -> 3182592 bytes .../first_depth_search-bb4b495df634f778.d | 9 + .../debug/deps/lazy_static-7b749abda964e14a.d | 6 + .../deps/libcrossterm-5f9f68198c107c92.rlib | Bin 0 -> 3127168 bytes .../deps/libcrossterm-8f61ecf1c102428d.rlib | Bin 0 -> 2096598 bytes .../deps/liblazy_static-7b749abda964e14a.rlib | Bin 0 -> 15018 bytes .../debug/deps/librand-c278be3f57a6eab5.rlib | Bin 0 -> 2422210 bytes .../deps/libwinapi-a7fc1f06729e06bc.rlib | Bin 0 -> 4778062 bytes .../target/debug/deps/rand-c278be3f57a6eab5.d | 22 + .../debug/deps/winapi-a7fc1f06729e06bc.d | 44 + .../target/debug/first_depth_search.d | 1 + .../target/debug/first_depth_search.exe | Bin 0 -> 515584 bytes .../target/debug/first_depth_search.pdb | Bin 0 -> 3182592 bytes .../10ygozpgsu0ud2lu.o | Bin 0 -> 1648 bytes .../16u6js6g0l3k1ic6.o | Bin 0 -> 45192 bytes .../181cuta0v63atwcm.o | Bin 0 -> 11087 bytes .../1bq5qje1qm23749i.o | Bin 0 -> 34181 bytes .../1dqvxks6k2bzkxe.o | Bin 0 -> 3103 bytes .../1idjnqb23rob2tvo.o | Bin 0 -> 3051 bytes .../1im38lueib99jsk0.o | Bin 0 -> 72020 bytes .../1lelgpelve5cjj1b.o | Bin 0 -> 1686 bytes .../1me60hlgb7a3ij3y.o | Bin 0 -> 29636 bytes .../1y16o1qfye96o7m0.o | Bin 0 -> 96451 bytes .../23ggl8omwle9dip3.o | Bin 0 -> 19486 bytes .../23tqyymcb18u96mb.o | Bin 0 -> 2186 bytes .../2ag0e2gyqzteo5lh.o | Bin 0 -> 46175 bytes .../2jqywn86b2gsqohu.o | Bin 0 -> 12180 bytes .../2lyh15q6cjwzy18c.o | Bin 0 -> 9955 bytes .../2q5257pdh5222n7q.o | Bin 0 -> 1389 bytes .../2r82puffnvvb8iic.o | Bin 0 -> 1603 bytes .../2yf0izvq9wmxs9a5.o | Bin 0 -> 2249 bytes .../3ayaeypdcro9d6yk.o | Bin 0 -> 70669 bytes .../3hfnnvlph5ozv32c.o | Bin 0 -> 2992 bytes .../3kfx4ynvkmi2y9i5.o | Bin 0 -> 12463 bytes .../3rngp6bm2u2q5z0y.o | Bin 0 -> 3174 bytes .../3wta9ctgdrpkmlpr.o | Bin 0 -> 24198 bytes .../42pcprhl8qosvo9v.o | Bin 0 -> 22867 bytes .../43v6g0y2xsxoggnt.o | Bin 0 -> 14313 bytes .../44fwlp5wvpf2x6hd.o | Bin 0 -> 12462 bytes .../48721dc4k5qxei0u.o | Bin 0 -> 2294 bytes .../49a7n47po4ttqjl7.o | Bin 0 -> 50239 bytes .../4gbgp5a7xd4lch9n.o | Bin 0 -> 3475 bytes .../4oc10dk278mpk1vy.o | Bin 0 -> 2776 bytes .../4x335n22m9teucop.o | Bin 0 -> 37491 bytes .../4xq48u46a1pwiqn7.o | Bin 0 -> 7345 bytes .../4yh8x2b62dcih00t.o | Bin 0 -> 7615 bytes .../4ypvbwho0bu5tnww.o | Bin 0 -> 6993 bytes .../5ff8tflogd3ohf7d.o | Bin 0 -> 36386 bytes .../7p53qlves2rwxx0.o | Bin 0 -> 1498 bytes .../8xzrsc1ux72v29j.o | Bin 0 -> 24817 bytes .../98g0d9x8aw3akpe.o | Bin 0 -> 5784 bytes .../9elsx31vb4it187.o | Bin 0 -> 59317 bytes .../axa40e43gxrjm3m.o | Bin 0 -> 48869 bytes .../axtihhkbvxh0bzs.o | Bin 0 -> 32479 bytes .../bgnho0tqnbm6uhe.o | Bin 0 -> 5425 bytes .../c6lbtaiefvx3wya.o | Bin 0 -> 10634 bytes .../dep-graph.bin | Bin 0 -> 1953590 bytes .../kclyx7of0fal6jf.o | Bin 0 -> 8667 bytes .../query-cache.bin | Bin 0 -> 977983 bytes .../v6ozwtpojmqfurc.o | Bin 0 -> 4278 bytes .../work-products.bin | Bin 0 -> 2549 bytes .../y08g5q2x813c4wx.o | Bin 0 -> 10774 bytes .../z9ox7biyn1otfln.o | Bin 0 -> 28476 bytes .../s-f2t7nufdzy-193v136.lock | 0 .../s-f2r1wpvwhu-1xvkdgp.lock | 0 .../program_examples/mod.rs | 1 - src/cursor/default_cursor.rs | 30 - src/cursor/mod.rs | 2 - src/kernel/unix_kernel/terminal.rs | 3 +- src/kernel/windows_kernel/kernel.rs | 29 +- src/lib.rs | 7 +- src/manager/ansi_manager.rs | 10 +- src/manager/manager.rs | 10 +- src/manager/mod.rs | 25 +- src/manager/win_manager.rs | 19 +- src/shared/crossterm.rs | 185 ++++ src/shared/environment.rs | 61 -- src/shared/functions.rs | 6 +- src/shared/mod.rs | 5 +- src/shared/raw.rs | 6 - src/shared/screen.rs | 84 +- src/state/command_manager.rs | 2 + src/state/context.rs | 2 +- src/state/state_manager.rs | 11 +- src/style/styles/styledobject.rs | 4 +- src/terminal/terminal.rs | 32 +- test.md | 72 +- 135 files changed, 1119 insertions(+), 581 deletions(-) create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/README.md create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/Cargo.toml rename examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/{ => src}/algorithm.rs (99%) rename examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/{mod.rs => src/main.rs} (97%) rename examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/{ => src}/map.rs (100%) rename examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/{ => src}/messages.rs (100%) create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/src/mod.rs rename examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/{ => src}/variables.rs (100%) create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/.rustc_info.json create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.cargo-lock create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/crossterm-5f9f68198c107c92/dep-lib-crossterm-5f9f68198c107c92 create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/crossterm-5f9f68198c107c92/lib-crossterm-5f9f68198c107c92 create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/crossterm-5f9f68198c107c92/lib-crossterm-5f9f68198c107c92.json create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/crossterm-8f61ecf1c102428d/dep-lib-crossterm-8f61ecf1c102428d create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/crossterm-8f61ecf1c102428d/lib-crossterm-8f61ecf1c102428d create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/crossterm-8f61ecf1c102428d/lib-crossterm-8f61ecf1c102428d.json create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/first_depth_search-b6f33af2cce3b29f/bin-first_depth_search-b6f33af2cce3b29f create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/first_depth_search-b6f33af2cce3b29f/bin-first_depth_search-b6f33af2cce3b29f.json create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/first_depth_search-b6f33af2cce3b29f/dep-bin-first_depth_search-b6f33af2cce3b29f create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/lazy_static-7b749abda964e14a/dep-lib-lazy_static-7b749abda964e14a create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/lazy_static-7b749abda964e14a/lib-lazy_static-7b749abda964e14a create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/lazy_static-7b749abda964e14a/lib-lazy_static-7b749abda964e14a.json create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/rand-c278be3f57a6eab5/dep-lib-rand-c278be3f57a6eab5 create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/rand-c278be3f57a6eab5/lib-rand-c278be3f57a6eab5 create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/rand-c278be3f57a6eab5/lib-rand-c278be3f57a6eab5.json create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/winapi-40a9ec8ec96fc09e/build-script-build_script_build-40a9ec8ec96fc09e create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/winapi-40a9ec8ec96fc09e/build-script-build_script_build-40a9ec8ec96fc09e.json create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/winapi-40a9ec8ec96fc09e/dep-build-script-build_script_build-40a9ec8ec96fc09e create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/winapi-82ad602439f8f31a/build create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/winapi-82ad602439f8f31a/build.json create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/winapi-a7fc1f06729e06bc/dep-lib-winapi-a7fc1f06729e06bc create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/winapi-a7fc1f06729e06bc/lib-winapi-a7fc1f06729e06bc create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/.fingerprint/winapi-a7fc1f06729e06bc/lib-winapi-a7fc1f06729e06bc.json create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/build/winapi-40a9ec8ec96fc09e/build-script-build.exe create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/build/winapi-40a9ec8ec96fc09e/build_script_build-40a9ec8ec96fc09e.d create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/build/winapi-40a9ec8ec96fc09e/build_script_build-40a9ec8ec96fc09e.exe create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/build/winapi-40a9ec8ec96fc09e/build_script_build-40a9ec8ec96fc09e.pdb create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/build/winapi-82ad602439f8f31a/output create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/build/winapi-82ad602439f8f31a/root-output create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/build/winapi-82ad602439f8f31a/stderr create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/crossterm-5f9f68198c107c92.d create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/crossterm-8f61ecf1c102428d.d create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/first_depth_search-b6f33af2cce3b29f.d create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/first_depth_search-b6f33af2cce3b29f.exe create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/first_depth_search-b6f33af2cce3b29f.pdb create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/first_depth_search-bb4b495df634f778.d create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/lazy_static-7b749abda964e14a.d create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/libcrossterm-5f9f68198c107c92.rlib create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/libcrossterm-8f61ecf1c102428d.rlib create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/liblazy_static-7b749abda964e14a.rlib create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/librand-c278be3f57a6eab5.rlib create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/libwinapi-a7fc1f06729e06bc.rlib create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/rand-c278be3f57a6eab5.d create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/deps/winapi-a7fc1f06729e06bc.d create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/first_depth_search.d create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/first_depth_search.exe create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/first_depth_search.pdb create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/10ygozpgsu0ud2lu.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/16u6js6g0l3k1ic6.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/181cuta0v63atwcm.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/1bq5qje1qm23749i.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/1dqvxks6k2bzkxe.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/1idjnqb23rob2tvo.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/1im38lueib99jsk0.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/1lelgpelve5cjj1b.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/1me60hlgb7a3ij3y.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/1y16o1qfye96o7m0.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/23ggl8omwle9dip3.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/23tqyymcb18u96mb.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/2ag0e2gyqzteo5lh.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/2jqywn86b2gsqohu.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/2lyh15q6cjwzy18c.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/2q5257pdh5222n7q.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/2r82puffnvvb8iic.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/2yf0izvq9wmxs9a5.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/3ayaeypdcro9d6yk.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/3hfnnvlph5ozv32c.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/3kfx4ynvkmi2y9i5.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/3rngp6bm2u2q5z0y.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/3wta9ctgdrpkmlpr.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/42pcprhl8qosvo9v.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/43v6g0y2xsxoggnt.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/44fwlp5wvpf2x6hd.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/48721dc4k5qxei0u.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/49a7n47po4ttqjl7.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/4gbgp5a7xd4lch9n.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/4oc10dk278mpk1vy.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/4x335n22m9teucop.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/4xq48u46a1pwiqn7.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/4yh8x2b62dcih00t.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/4ypvbwho0bu5tnww.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/5ff8tflogd3ohf7d.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/7p53qlves2rwxx0.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/8xzrsc1ux72v29j.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/98g0d9x8aw3akpe.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/9elsx31vb4it187.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/axa40e43gxrjm3m.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/axtihhkbvxh0bzs.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/bgnho0tqnbm6uhe.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/c6lbtaiefvx3wya.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/dep-graph.bin create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/kclyx7of0fal6jf.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/query-cache.bin create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/v6ozwtpojmqfurc.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/work-products.bin create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/y08g5q2x813c4wx.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136-31hzdp9ywpizv/z9ox7biyn1otfln.o create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-1z3k61p0nldlo/s-f2t7nufdzy-193v136.lock create mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/first_depth_search/target/debug/incremental/first_depth_search-24uuydir119g5/s-f2r1wpvwhu-1xvkdgp.lock delete mode 100644 examples/Crossterm 0.2.2 - New Version (Not finished)/program_examples/mod.rs delete mode 100644 src/cursor/default_cursor.rs create mode 100644 src/shared/crossterm.rs delete mode 100644 src/shared/environment.rs diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 94fc546..691d9ed 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,20 +1,43 @@ - + + + + - - + + + + + + + + + + + + + + + + + + - - + + + + + + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -100,23 +60,80 @@ - - + + - - + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -132,7 +149,6 @@ - get_output_handle(); color super:: get_current_ha @@ -162,6 +178,7 @@ crossterm chi_buffer Write + c_void crossterm_cursor @@ -188,57 +205,57 @@ @@ -280,6 +297,7 @@ + @@ -298,13 +316,6 @@ - - - - - - - @@ -320,6 +331,15 @@ + + + + + + + + + @@ -344,13 +364,6 @@ - - - - - - - @@ -370,6 +383,12 @@ + + + + + + @@ -400,7 +419,6 @@