Home
last modified time | relevance | path

Searched refs:saved_x (Results 1 – 25 of 452) sorted by relevance

12345678910>>...19

/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/crossterm-0.13.3/src/
H A Dcursor.rs310 let (saved_x, saved_y) = position().unwrap(); in test_move_to()
312 execute!(stdout(), MoveTo(saved_x + 1, saved_y + 1)).unwrap(); in test_move_to()
313 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to()
315 execute!(stdout(), MoveTo(saved_x, saved_y)).unwrap(); in test_move_to()
316 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to()
323 let (saved_x, saved_y) = position().unwrap(); in test_move_right()
325 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right()
357 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position()
362 MoveTo(saved_x + 1, saved_y + 1), in test_save_restore_position()
369 assert_eq!(x, saved_x); in test_save_restore_position()
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/crossterm-0.13.3/src/cursor/sys/
H A Dwindows.rs174 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
176 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
177 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
179 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
180 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
185 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
187 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
219 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
222 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
227 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/sysutils/pnscan/pnscan-1.14.1/
H A Dbm.c135 bmp->saved_x = (unsigned char *) malloc(m); in bm_init()
136 if (bmp->saved_x == NULL) in bm_init()
140 bmp->saved_x[i] = icase ? tolower(x[i]) : x[i]; in bm_init()
143 if (preBmGs(bmp->saved_x, m, bmp->bmGs) < 0) in bm_init()
146 preBmBc((unsigned char *) bmp->saved_x, m, bmp->bmBc); in bm_init()
158 if (bmp->saved_x) in bm_destroy()
159 free(bmp->saved_x); in bm_destroy()
189 i >= 0 && bmp->saved_x[i] == (bmp->icase ? tolower(y[i + j]) : y[i + j]); in bm_search()
/dports/misc/broot/broot-1.7.0/cargo-crates/crossterm-0.19.0/src/cursor/sys/
H A Dwindows.rs213 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
215 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
216 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
218 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
219 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
224 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
226 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
285 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
288 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
293 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/shells/nsh/nsh-0.4.2/cargo-crates/crossterm-0.18.2/src/cursor/sys/
H A Dwindows.rs213 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
215 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
216 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
218 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
219 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
224 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
226 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
285 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
288 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
293 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/sysutils/diskonaut/diskonaut-0.11.0/cargo-crates/crossterm-0.17.7/src/cursor/sys/
H A Dwindows.rs213 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
215 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
216 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
218 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
219 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
224 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
226 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
285 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
288 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
293 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/graphics/viu/viu-1.1/cargo-crates/crossterm-0.17.7/src/cursor/sys/
H A Dwindows.rs213 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
215 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
216 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
218 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
219 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
224 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
226 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
285 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
288 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
293 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/crossterm-0.19.0/src/cursor/sys/
H A Dwindows.rs213 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
215 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
216 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
218 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
219 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
224 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
226 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
285 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
288 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
293 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/devel/gitui/gitui-0.10.1/cargo-crates/crossterm-0.17.7/src/cursor/sys/
H A Dwindows.rs213 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
215 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
216 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
218 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
219 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
224 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
226 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
285 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
288 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
293 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/devel/desed/desed-1.2.0/cargo-crates/crossterm-0.17.6/src/cursor/sys/
H A Dwindows.rs213 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
215 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
216 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
218 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
219 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
224 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
226 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
285 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
288 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
293 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/misc/broot/broot-1.7.0/cargo-crates/crossterm-0.21.0/src/cursor/sys/
H A Dwindows.rs225 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
227 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
228 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
230 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
231 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
236 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
238 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
306 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
309 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
314 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/editors/helix/helix-0.5.0/cargo-crates/crossterm-0.22.1/src/cursor/sys/
H A Dwindows.rs225 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
227 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
228 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
230 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
231 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
236 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
238 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
306 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
309 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
314 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/security/gpg-tui/gpg-tui-0.8.2/cargo-crates/crossterm-0.20.0/src/cursor/sys/
H A Dwindows.rs225 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
227 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
228 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
230 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
231 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
236 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
238 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
306 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
309 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
314 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/security/gpg-tui/gpg-tui-0.8.2/cargo-crates/crossterm-0.21.0/src/cursor/sys/
H A Dwindows.rs225 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
227 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
228 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
230 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
231 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
236 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
238 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
306 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
309 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
314 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/misc/xplr/xplr-0.17.0/cargo-crates/crossterm-0.20.0/src/cursor/sys/
H A Dwindows.rs225 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
227 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
228 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
230 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
231 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
236 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
238 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
306 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
309 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
314 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/misc/xplr/xplr-0.17.0/cargo-crates/crossterm-0.22.1/src/cursor/sys/
H A Dwindows.rs225 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
227 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
228 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
230 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
231 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
236 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
238 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
306 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
309 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
314 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/net/oha/oha-0.4.7/cargo-crates/crossterm-0.20.0/src/cursor/sys/
H A Dwindows.rs225 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
227 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
228 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
230 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
231 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
236 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
238 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
306 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
309 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
314 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/net/oha/oha-0.4.7/cargo-crates/crossterm-0.21.0/src/cursor/sys/
H A Dwindows.rs225 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
227 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
228 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
230 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
231 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
236 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
238 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
306 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
309 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
314 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/sysutils/dua-cli/dua-cli-2.14.11/cargo-crates/crossterm-0.20.0/src/cursor/sys/
H A Dwindows.rs225 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
227 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
228 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
230 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
231 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
236 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
238 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
306 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
309 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
314 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/crossterm-0.20.0/src/cursor/sys/
H A Dwindows.rs225 let (saved_x, saved_y) = position().unwrap(); in test_move_to_winapi()
227 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_move_to_winapi()
228 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to_winapi()
230 move_to(saved_x, saved_y).unwrap(); in test_move_to_winapi()
231 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to_winapi()
236 let (saved_x, saved_y) = position().unwrap(); in test_move_right_winapi()
238 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right_winapi()
306 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position_winapi()
309 move_to(saved_x + 1, saved_y + 1).unwrap(); in test_save_restore_position_winapi()
314 assert_eq!(x, saved_x); in test_save_restore_position_winapi()
/dports/misc/broot/broot-1.7.0/cargo-crates/crossterm-0.21.0/src/
H A Dcursor.rs430 let (saved_x, saved_y) = position().unwrap(); in test_move_to()
432 execute!(stdout(), MoveTo(saved_x + 1, saved_y + 1)).unwrap(); in test_move_to()
433 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to()
435 execute!(stdout(), MoveTo(saved_x, saved_y)).unwrap(); in test_move_to()
436 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to()
443 let (saved_x, saved_y) = position().unwrap(); in test_move_right()
445 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right()
477 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position()
482 MoveTo(saved_x + 1, saved_y + 1), in test_save_restore_position()
489 assert_eq!(x, saved_x); in test_save_restore_position()
/dports/misc/broot/broot-1.7.0/cargo-crates/crossterm-0.19.0/src/
H A Dcursor.rs362 let (saved_x, saved_y) = position().unwrap(); in test_move_to()
364 execute!(stdout(), MoveTo(saved_x + 1, saved_y + 1)).unwrap(); in test_move_to()
365 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to()
367 execute!(stdout(), MoveTo(saved_x, saved_y)).unwrap(); in test_move_to()
368 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to()
375 let (saved_x, saved_y) = position().unwrap(); in test_move_right()
377 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right()
409 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position()
414 MoveTo(saved_x + 1, saved_y + 1), in test_save_restore_position()
421 assert_eq!(x, saved_x); in test_save_restore_position()
/dports/editors/helix/helix-0.5.0/cargo-crates/crossterm-0.22.1/src/
H A Dcursor.rs430 let (saved_x, saved_y) = position().unwrap(); in test_move_to()
432 execute!(stdout(), MoveTo(saved_x + 1, saved_y + 1)).unwrap(); in test_move_to()
433 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to()
435 execute!(stdout(), MoveTo(saved_x, saved_y)).unwrap(); in test_move_to()
436 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to()
443 let (saved_x, saved_y) = position().unwrap(); in test_move_right()
445 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right()
477 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position()
482 MoveTo(saved_x + 1, saved_y + 1), in test_save_restore_position()
489 assert_eq!(x, saved_x); in test_save_restore_position()
/dports/devel/gitui/gitui-0.10.1/cargo-crates/crossterm-0.17.7/src/
H A Dcursor.rs451 let (saved_x, saved_y) = position().unwrap(); in test_move_to()
453 execute!(stdout(), MoveTo(saved_x + 1, saved_y + 1)).unwrap(); in test_move_to()
454 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to()
456 execute!(stdout(), MoveTo(saved_x, saved_y)).unwrap(); in test_move_to()
457 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to()
464 let (saved_x, saved_y) = position().unwrap(); in test_move_right()
466 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right()
498 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position()
503 MoveTo(saved_x + 1, saved_y + 1), in test_save_restore_position()
510 assert_eq!(x, saved_x); in test_save_restore_position()
/dports/sysutils/diskonaut/diskonaut-0.11.0/cargo-crates/crossterm-0.17.7/src/
H A Dcursor.rs451 let (saved_x, saved_y) = position().unwrap(); in test_move_to()
453 execute!(stdout(), MoveTo(saved_x + 1, saved_y + 1)).unwrap(); in test_move_to()
454 assert_eq!(position().unwrap(), (saved_x + 1, saved_y + 1)); in test_move_to()
456 execute!(stdout(), MoveTo(saved_x, saved_y)).unwrap(); in test_move_to()
457 assert_eq!(position().unwrap(), (saved_x, saved_y)); in test_move_to()
464 let (saved_x, saved_y) = position().unwrap(); in test_move_right()
466 assert_eq!(position().unwrap(), (saved_x + 1, saved_y)); in test_move_right()
498 let (saved_x, saved_y) = position().unwrap(); in test_save_restore_position()
503 MoveTo(saved_x + 1, saved_y + 1), in test_save_restore_position()
510 assert_eq!(x, saved_x); in test_save_restore_position()

12345678910>>...19